Raspberry Pi RP2040 2025.02.05 RP2040 CM0PLUS r0p1 little 2 false 8 32 ADC Control and data interface to SAR ADC ADC 0x4004C000 0x0 0x1000 registers n ADC_IRQ_FIFO 22 CS ADC Control and Status 0x0 32 read-write n 0x0 0x0 AINSEL Select analog mux input. Updated automatically in round-robin mode. 12 3 read-write EN Power on ADC and enable its clock. 1 - enabled. 0 - disabled. 0 1 read-write ERR The most recent ADC conversion encountered an error result is undefined or noisy. 9 1 read-only ERR_STICKY Some past ADC conversion encountered an error. Write 1 to clear. 10 1 read-write oneToClear READY 1 if the ADC is ready to start a new conversion. Implies any previous conversion has completed. 0 whilst conversion in progress. 8 1 read-only RROBIN Round-robin sampling. 1 bit per channel. Set all bits to 0 to disable. Otherwise, the ADC will cycle through each enabled channel in a round-robin fashion. The first channel to be sampled will be the one currently indicated by AINSEL. AINSEL will be updated after each conversion with the newly-selected channel. 16 5 read-write START_MANY Continuously perform conversions whilst this bit is 1. A new conversion will start immediately after the previous finishes. 3 1 read-write START_ONCE Start a single conversion. Self-clearing. Ignored if start_many is asserted. 2 1 read-write clear TS_EN Power on temperature sensor. 1 - enabled. 0 - disabled. 1 1 read-write DIV Clock divider. If non-zero, CS_START_MANY will start conversions at regular intervals rather than back-to-back. The divider is reset when either of these fields are written. Total period is 1 + INT + FRAC / 256 0x10 32 read-write n 0x0 0x0 FRAC Fractional part of clock divisor. First-order delta-sigma. 0 8 read-write INT Integer part of clock divisor. 8 16 read-write FCS FIFO control and status 0x8 32 read-write n 0x0 0x0 DREQ_EN If 1: assert DMA requests when FIFO contains data 3 1 read-write EMPTY 8 1 read-only EN If 1: write result to the FIFO after each conversion. 0 1 read-write ERR If 1: conversion error bit appears in the FIFO alongside the result 2 1 read-write FULL 9 1 read-only LEVEL The number of conversion results currently waiting in the FIFO 16 4 read-only OVER 1 if the FIFO has been overflowed. Write 1 to clear. 11 1 read-write oneToClear SHIFT If 1: FIFO results are right-shifted to be one byte in size. Enables DMA to byte buffers. 1 1 read-write THRESH DREQ/IRQ asserted when level >= threshold 24 4 read-write UNDER 1 if the FIFO has been underflowed. Write 1 to clear. 10 1 read-write oneToClear FIFO Conversion result FIFO 0xC 32 read-write n 0x0 0x0 ERR 1 if this particular sample experienced a conversion error. Remains in the same location if the sample is shifted. 15 1 read-only VAL 0 12 read-only INTE Interrupt Enable 0x18 32 read-write n 0x0 0x0 FIFO Triggered when the sample FIFO reaches a certain level. This level can be programmed via the FCS_THRESH field. 0 1 read-write INTF Interrupt Force 0x1C 32 read-write n 0x0 0x0 FIFO Triggered when the sample FIFO reaches a certain level. This level can be programmed via the FCS_THRESH field. 0 1 read-write INTR Raw Interrupts 0x14 32 read-write n 0x0 0x0 FIFO Triggered when the sample FIFO reaches a certain level. This level can be programmed via the FCS_THRESH field. 0 1 read-only INTS Interrupt status after masking & forcing 0x20 32 read-write n 0x0 0x0 FIFO Triggered when the sample FIFO reaches a certain level. This level can be programmed via the FCS_THRESH field. 0 1 read-only RESULT Result of most recent ADC conversion 0x4 32 read-write n 0x0 0x0 RESULT 0 12 read-only BUSCTRL Register block for busfabric control signals and performance counters BUSCTRL 0x40030000 0x0 0x1000 registers n BUS_PRIORITY Set the priority of each master for bus arbitration. 0x0 32 read-write n 0x0 0x0 DMA_R 0 - low priority, 1 - high priority 8 1 read-write DMA_W 0 - low priority, 1 - high priority 12 1 read-write PROC0 0 - low priority, 1 - high priority 0 1 read-write PROC1 0 - low priority, 1 - high priority 4 1 read-write BUS_PRIORITY_ACK Bus priority acknowledge 0x4 32 read-write n 0x0 0x0 BUS_PRIORITY_ACK Goes to 1 once all arbiters have registered the new global priority levels. Arbiters update their local priority when servicing a new nonsequential access. In normal circumstances this will happen almost immediately. 0 1 read-only PERFCTR0 Bus fabric performance counter 0 0x8 32 read-write n 0x0 0x0 PERFCTR0 Busfabric saturating performance counter 0 Count some event signal from the busfabric arbiters. Write any value to clear. Select an event to count using PERFSEL0 0 24 read-write oneToClear PERFCTR1 Bus fabric performance counter 1 0x10 32 read-write n 0x0 0x0 PERFCTR1 Busfabric saturating performance counter 1 Count some event signal from the busfabric arbiters. Write any value to clear. Select an event to count using PERFSEL1 0 24 read-write oneToClear PERFCTR2 Bus fabric performance counter 2 0x18 32 read-write n 0x0 0x0 PERFCTR2 Busfabric saturating performance counter 2 Count some event signal from the busfabric arbiters. Write any value to clear. Select an event to count using PERFSEL2 0 24 read-write oneToClear PERFCTR3 Bus fabric performance counter 3 0x20 32 read-write n 0x0 0x0 PERFCTR3 Busfabric saturating performance counter 3 Count some event signal from the busfabric arbiters. Write any value to clear. Select an event to count using PERFSEL3 0 24 read-write oneToClear PERFSEL0 Bus fabric performance event select for PERFCTR0 0xC 32 read-write n 0x1F 0x0 PERFSEL0 Select an event for PERFCTR0. Count either contested accesses, or all accesses, on a downstream port of the main crossbar. 0 5 read-write apb_contested 0 apb 1 sram2_contested 10 sram2 11 sram1_contested 12 sram1 13 sram0_contested 14 sram0 15 xip_main_contested 16 xip_main 17 rom_contested 18 rom 19 fastperi_contested 2 fastperi 3 sram5_contested 4 sram5 5 sram4_contested 6 sram4 7 sram3_contested 8 sram3 9 PERFSEL1 Bus fabric performance event select for PERFCTR1 0x14 32 read-write n 0x1F 0x0 PERFSEL1 Select an event for PERFCTR1. Count either contested accesses, or all accesses, on a downstream port of the main crossbar. 0 5 read-write apb_contested 0 apb 1 sram2_contested 10 sram2 11 sram1_contested 12 sram1 13 sram0_contested 14 sram0 15 xip_main_contested 16 xip_main 17 rom_contested 18 rom 19 fastperi_contested 2 fastperi 3 sram5_contested 4 sram5 5 sram4_contested 6 sram4 7 sram3_contested 8 sram3 9 PERFSEL2 Bus fabric performance event select for PERFCTR2 0x1C 32 read-write n 0x1F 0x0 PERFSEL2 Select an event for PERFCTR2. Count either contested accesses, or all accesses, on a downstream port of the main crossbar. 0 5 read-write apb_contested 0 apb 1 sram2_contested 10 sram2 11 sram1_contested 12 sram1 13 sram0_contested 14 sram0 15 xip_main_contested 16 xip_main 17 rom_contested 18 rom 19 fastperi_contested 2 fastperi 3 sram5_contested 4 sram5 5 sram4_contested 6 sram4 7 sram3_contested 8 sram3 9 PERFSEL3 Bus fabric performance event select for PERFCTR3 0x24 32 read-write n 0x1F 0x0 PERFSEL3 Select an event for PERFCTR3. Count either contested accesses, or all accesses, on a downstream port of the main crossbar. 0 5 read-write apb_contested 0 apb 1 sram2_contested 10 sram2 11 sram1_contested 12 sram1 13 sram0_contested 14 sram0 15 xip_main_contested 16 xip_main 17 rom_contested 18 rom 19 fastperi_contested 2 fastperi 3 sram5_contested 4 sram5 5 sram4_contested 6 sram4 7 sram3_contested 8 sram3 9 CLOCKS CLOCKS 0x40008000 0x0 0x1000 registers n CLOCKS_IRQ 17 CLK_ADC_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x60 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 3 read-write clksrc_pll_usb None 0 clksrc_pll_sys None 1 rosc_clksrc_ph None 2 xosc_clksrc None 3 clksrc_gpin0 None 4 clksrc_gpin1 None 5 ENABLE Starts and stops the clock generator cleanly 11 1 read-write KILL Asynchronously kills the clock generator 10 1 read-write NUDGE An edge on this signal shifts the phase of the output by 1 cycle of the input clock This can be done at any time 20 1 read-write PHASE This delays the enable signal by up to 3 cycles of the input clock This must be set before the clock is enabled to have any effect 16 2 read-write CLK_ADC_DIV Clock divisor, can be changed on-the-fly 0x64 32 read-write n 0x100 0x0 INT Integer component of the divisor, 0 -> divide by 2^16 8 2 read-write CLK_ADC_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1. 0x68 32 read-only n 0x1 0x0 CLK_GPOUT0_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x0 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 4 read-write clksrc_pll_sys None 0 clksrc_gpin0 None 1 clk_ref None 10 clksrc_gpin1 None 2 clksrc_pll_usb None 3 rosc_clksrc None 4 xosc_clksrc None 5 clk_sys None 6 clk_usb None 7 clk_adc None 8 clk_rtc None 9 DC50 Enables duty cycle correction for odd divisors 12 1 read-write ENABLE Starts and stops the clock generator cleanly 11 1 read-write KILL Asynchronously kills the clock generator 10 1 read-write NUDGE An edge on this signal shifts the phase of the output by 1 cycle of the input clock This can be done at any time 20 1 read-write PHASE This delays the enable signal by up to 3 cycles of the input clock This must be set before the clock is enabled to have any effect 16 2 read-write CLK_GPOUT0_DIV Clock divisor, can be changed on-the-fly 0x4 32 read-write n 0x100 0x0 FRAC Fractional component of the divisor 0 8 read-write INT Integer component of the divisor, 0 -> divide by 2^16 8 24 read-write CLK_GPOUT0_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1. 0x8 32 read-only n 0x1 0x0 CLK_GPOUT1_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0xC 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 4 read-write clksrc_pll_sys None 0 clksrc_gpin0 None 1 clk_ref None 10 clksrc_gpin1 None 2 clksrc_pll_usb None 3 rosc_clksrc None 4 xosc_clksrc None 5 clk_sys None 6 clk_usb None 7 clk_adc None 8 clk_rtc None 9 DC50 Enables duty cycle correction for odd divisors 12 1 read-write ENABLE Starts and stops the clock generator cleanly 11 1 read-write KILL Asynchronously kills the clock generator 10 1 read-write NUDGE An edge on this signal shifts the phase of the output by 1 cycle of the input clock This can be done at any time 20 1 read-write PHASE This delays the enable signal by up to 3 cycles of the input clock This must be set before the clock is enabled to have any effect 16 2 read-write CLK_GPOUT1_DIV Clock divisor, can be changed on-the-fly 0x10 32 read-write n 0x100 0x0 FRAC Fractional component of the divisor 0 8 read-write INT Integer component of the divisor, 0 -> divide by 2^16 8 24 read-write CLK_GPOUT1_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1. 0x14 32 read-only n 0x1 0x0 CLK_GPOUT2_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x18 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 4 read-write clksrc_pll_sys None 0 clksrc_gpin0 None 1 clk_ref None 10 clksrc_gpin1 None 2 clksrc_pll_usb None 3 rosc_clksrc_ph None 4 xosc_clksrc None 5 clk_sys None 6 clk_usb None 7 clk_adc None 8 clk_rtc None 9 DC50 Enables duty cycle correction for odd divisors 12 1 read-write ENABLE Starts and stops the clock generator cleanly 11 1 read-write KILL Asynchronously kills the clock generator 10 1 read-write NUDGE An edge on this signal shifts the phase of the output by 1 cycle of the input clock This can be done at any time 20 1 read-write PHASE This delays the enable signal by up to 3 cycles of the input clock This must be set before the clock is enabled to have any effect 16 2 read-write CLK_GPOUT2_DIV Clock divisor, can be changed on-the-fly 0x1C 32 read-write n 0x100 0x0 FRAC Fractional component of the divisor 0 8 read-write INT Integer component of the divisor, 0 -> divide by 2^16 8 24 read-write CLK_GPOUT2_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1. 0x20 32 read-only n 0x1 0x0 CLK_GPOUT3_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x24 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 4 read-write clksrc_pll_sys None 0 clksrc_gpin0 None 1 clk_ref None 10 clksrc_gpin1 None 2 clksrc_pll_usb None 3 rosc_clksrc_ph None 4 xosc_clksrc None 5 clk_sys None 6 clk_usb None 7 clk_adc None 8 clk_rtc None 9 DC50 Enables duty cycle correction for odd divisors 12 1 read-write ENABLE Starts and stops the clock generator cleanly 11 1 read-write KILL Asynchronously kills the clock generator 10 1 read-write NUDGE An edge on this signal shifts the phase of the output by 1 cycle of the input clock This can be done at any time 20 1 read-write PHASE This delays the enable signal by up to 3 cycles of the input clock This must be set before the clock is enabled to have any effect 16 2 read-write CLK_GPOUT3_DIV Clock divisor, can be changed on-the-fly 0x28 32 read-write n 0x100 0x0 FRAC Fractional component of the divisor 0 8 read-write INT Integer component of the divisor, 0 -> divide by 2^16 8 24 read-write CLK_GPOUT3_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1. 0x2C 32 read-only n 0x1 0x0 CLK_PERI_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x48 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 3 read-write clk_sys None 0 clksrc_pll_sys None 1 clksrc_pll_usb None 2 rosc_clksrc_ph None 3 xosc_clksrc None 4 clksrc_gpin0 None 5 clksrc_gpin1 None 6 ENABLE Starts and stops the clock generator cleanly 11 1 read-write KILL Asynchronously kills the clock generator 10 1 read-write CLK_PERI_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1. 0x50 32 read-only n 0x1 0x0 CLK_REF_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x30 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 2 read-write clksrc_pll_usb None 0 clksrc_gpin0 None 1 clksrc_gpin1 None 2 SRC Selects the clock source glitchlessly, can be changed on-the-fly 0 2 read-write rosc_clksrc_ph None 0 clksrc_clk_ref_aux None 1 xosc_clksrc None 2 CLK_REF_DIV Clock divisor, can be changed on-the-fly 0x34 32 read-write n 0x100 0x0 INT Integer component of the divisor, 0 -> divide by 2^16 8 2 read-write CLK_REF_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). The glitchless multiplexer does not switch instantaneously (to avoid glitches), so software should poll this register to wait for the switch to complete. This register contains one decoded bit for each of the clock sources enumerated in the CTRL SRC field. At most one of these bits will be set at any time, indicating that clock is currently present at the output of the glitchless mux. Whilst switching is in progress, this register may briefly show all-0s. 0x38 32 read-only n 0x1 0x0 CLK_RTC_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x6C 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 3 read-write clksrc_pll_usb None 0 clksrc_pll_sys None 1 rosc_clksrc_ph None 2 xosc_clksrc None 3 clksrc_gpin0 None 4 clksrc_gpin1 None 5 ENABLE Starts and stops the clock generator cleanly 11 1 read-write KILL Asynchronously kills the clock generator 10 1 read-write NUDGE An edge on this signal shifts the phase of the output by 1 cycle of the input clock This can be done at any time 20 1 read-write PHASE This delays the enable signal by up to 3 cycles of the input clock This must be set before the clock is enabled to have any effect 16 2 read-write CLK_RTC_DIV Clock divisor, can be changed on-the-fly 0x70 32 read-write n 0x100 0x0 FRAC Fractional component of the divisor 0 8 read-write INT Integer component of the divisor, 0 -> divide by 2^16 8 24 read-write CLK_RTC_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1. 0x74 32 read-only n 0x1 0x0 CLK_SYS_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x3C 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 3 read-write clksrc_pll_sys None 0 clksrc_pll_usb None 1 rosc_clksrc None 2 xosc_clksrc None 3 clksrc_gpin0 None 4 clksrc_gpin1 None 5 SRC Selects the clock source glitchlessly, can be changed on-the-fly 0 1 read-write clk_ref None 0 clksrc_clk_sys_aux None 1 CLK_SYS_DIV Clock divisor, can be changed on-the-fly 0x40 32 read-write n 0x100 0x0 FRAC Fractional component of the divisor 0 8 read-write INT Integer component of the divisor, 0 -> divide by 2^16 8 24 read-write CLK_SYS_RESUS_CTRL 0x78 32 read-write n 0xFF 0x0 CLEAR For clearing the resus after the fault that triggered it has been corrected 16 1 read-write ENABLE Enable resus 8 1 read-write FRCE Force a resus, for test purposes only 12 1 read-write TIMEOUT This is expressed as a number of clk_ref cycles and must be >= 2x clk_ref_freq/min_clk_tst_freq 0 8 read-write CLK_SYS_RESUS_STATUS 0x7C 32 read-write n 0x0 0x0 RESUSSED Clock has been resuscitated, correct the error then send ctrl_clear=1 0 1 read-only CLK_SYS_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). The glitchless multiplexer does not switch instantaneously (to avoid glitches), so software should poll this register to wait for the switch to complete. This register contains one decoded bit for each of the clock sources enumerated in the CTRL SRC field. At most one of these bits will be set at any time, indicating that clock is currently present at the output of the glitchless mux. Whilst switching is in progress, this register may briefly show all-0s. 0x44 32 read-only n 0x1 0x0 CLK_USB_CTRL Clock control, can be changed on-the-fly (except for auxsrc) 0x54 32 read-write n 0x0 0x0 AUXSRC Selects the auxiliary clock source, will glitch when switching 5 3 read-write clksrc_pll_usb None 0 clksrc_pll_sys None 1 rosc_clksrc_ph None 2 xosc_clksrc None 3 clksrc_gpin0 None 4 clksrc_gpin1 None 5 ENABLE Starts and stops the clock generator cleanly 11 1 read-write KILL Asynchronously kills the clock generator 10 1 read-write NUDGE An edge on this signal shifts the phase of the output by 1 cycle of the input clock This can be done at any time 20 1 read-write PHASE This delays the enable signal by up to 3 cycles of the input clock This must be set before the clock is enabled to have any effect 16 2 read-write CLK_USB_DIV Clock divisor, can be changed on-the-fly 0x58 32 read-write n 0x100 0x0 INT Integer component of the divisor, 0 -> divide by 2^16 8 2 read-write CLK_USB_SELECTED Indicates which SRC is currently selected by the glitchless mux (one-hot). This slice does not have a glitchless mux (only the AUX_SRC field is present, not SRC) so this register is hardwired to 0x1. 0x5C 32 read-only n 0x1 0x0 ENABLED0 indicates the state of the clock enable 0xB0 32 read-write n 0x0 0x0 clk_adc_adc 1 1 read-only clk_peri_spi0 24 1 read-only clk_peri_spi1 26 1 read-only clk_rtc_rtc 21 1 read-only clk_sys_adc 2 1 read-only clk_sys_busctrl 3 1 read-only clk_sys_busfabric 4 1 read-only clk_sys_clocks 0 1 read-only clk_sys_dma 5 1 read-only clk_sys_i2c0 6 1 read-only clk_sys_i2c1 7 1 read-only clk_sys_io 8 1 read-only clk_sys_jtag 9 1 read-only clk_sys_pads 11 1 read-only clk_sys_pio0 12 1 read-only clk_sys_pio1 13 1 read-only clk_sys_pll_sys 14 1 read-only clk_sys_pll_usb 15 1 read-only clk_sys_psm 16 1 read-only clk_sys_pwm 17 1 read-only clk_sys_resets 18 1 read-only clk_sys_rom 19 1 read-only clk_sys_rosc 20 1 read-only clk_sys_rtc 22 1 read-only clk_sys_sio 23 1 read-only clk_sys_spi0 25 1 read-only clk_sys_spi1 27 1 read-only clk_sys_sram0 28 1 read-only clk_sys_sram1 29 1 read-only clk_sys_sram2 30 1 read-only clk_sys_sram3 31 1 read-only clk_sys_vreg_and_chip_reset 10 1 read-only ENABLED1 indicates the state of the clock enable 0xB4 32 read-write n 0x0 0x0 clk_peri_uart0 6 1 read-only clk_peri_uart1 8 1 read-only clk_sys_sram4 0 1 read-only clk_sys_sram5 1 1 read-only clk_sys_syscfg 2 1 read-only clk_sys_sysinfo 3 1 read-only clk_sys_tbman 4 1 read-only clk_sys_timer 5 1 read-only clk_sys_uart0 7 1 read-only clk_sys_uart1 9 1 read-only clk_sys_usbctrl 10 1 read-only clk_sys_watchdog 12 1 read-only clk_sys_xip 13 1 read-only clk_sys_xosc 14 1 read-only clk_usb_usbctrl 11 1 read-only FC0_DELAY Delays the start of frequency counting to allow the mux to settle Delay is measured in multiples of the reference clock period 0x8C 32 read-write n 0x1 0x0 FC0_DELAY 0 3 read-write FC0_INTERVAL The test interval is 0.98us * 2**interval, but let's call it 1us * 2**interval The default gives a test interval of 250us 0x90 32 read-write n 0x8 0x0 FC0_INTERVAL 0 4 read-write FC0_MAX_KHZ Maximum pass frequency in kHz. This is optional. Set to 0x1ffffff if you are not using the pass/fail flags 0x88 32 read-write n 0x1FFFFFF 0x0 FC0_MAX_KHZ 0 25 read-write FC0_MIN_KHZ Minimum pass frequency in kHz. This is optional. Set to 0 if you are not using the pass/fail flags 0x84 32 read-write n 0x0 0x0 FC0_MIN_KHZ 0 25 read-write FC0_REF_KHZ Reference clock frequency in kHz 0x80 32 read-write n 0x0 0x0 FC0_REF_KHZ 0 20 read-write FC0_RESULT Result of frequency measurement, only valid when status_done=1 0x9C 32 read-write n 0x0 0x0 FRAC 0 5 read-only KHZ 5 25 read-only FC0_SRC Clock sent to frequency counter, set to 0 when not required Writing to this register initiates the frequency count 0x94 32 read-write n 0x0 0x0 FC0_SRC 0 8 read-write NULL None 0 pll_sys_clksrc_primary None 1 clk_peri None 10 clk_usb None 11 clk_adc None 12 clk_rtc None 13 pll_usb_clksrc_primary None 2 rosc_clksrc None 3 rosc_clksrc_ph None 4 xosc_clksrc None 5 clksrc_gpin0 None 6 clksrc_gpin1 None 7 clk_ref None 8 clk_sys None 9 FC0_STATUS Frequency counter status 0x98 32 read-write n 0x0 0x0 DIED Test clock stopped during test 28 1 read-only DONE Test complete 4 1 read-only FAIL Test failed 16 1 read-only FAST Test clock faster than expected, only valid when status_done=1 24 1 read-only PASS Test passed 0 1 read-only RUNNING Test running 8 1 read-only SLOW Test clock slower than expected, only valid when status_done=1 20 1 read-only WAITING Waiting for test clock to start 12 1 read-only INTE Interrupt Enable 0xBC 32 read-write n 0x0 0x0 CLK_SYS_RESUS 0 1 read-write INTF Interrupt Force 0xC0 32 read-write n 0x0 0x0 CLK_SYS_RESUS 0 1 read-write INTR Raw Interrupts 0xB8 32 read-write n 0x0 0x0 CLK_SYS_RESUS 0 1 read-only INTS Interrupt status after masking & forcing 0xC4 32 read-write n 0x0 0x0 CLK_SYS_RESUS 0 1 read-only SLEEP_EN0 enable clock in sleep mode 0xA8 32 read-write n 0xFFFFFFFF 0x0 clk_adc_adc 1 1 read-write clk_peri_spi0 24 1 read-write clk_peri_spi1 26 1 read-write clk_rtc_rtc 21 1 read-write clk_sys_adc 2 1 read-write clk_sys_busctrl 3 1 read-write clk_sys_busfabric 4 1 read-write clk_sys_clocks 0 1 read-write clk_sys_dma 5 1 read-write clk_sys_i2c0 6 1 read-write clk_sys_i2c1 7 1 read-write clk_sys_io 8 1 read-write clk_sys_jtag 9 1 read-write clk_sys_pads 11 1 read-write clk_sys_pio0 12 1 read-write clk_sys_pio1 13 1 read-write clk_sys_pll_sys 14 1 read-write clk_sys_pll_usb 15 1 read-write clk_sys_psm 16 1 read-write clk_sys_pwm 17 1 read-write clk_sys_resets 18 1 read-write clk_sys_rom 19 1 read-write clk_sys_rosc 20 1 read-write clk_sys_rtc 22 1 read-write clk_sys_sio 23 1 read-write clk_sys_spi0 25 1 read-write clk_sys_spi1 27 1 read-write clk_sys_sram0 28 1 read-write clk_sys_sram1 29 1 read-write clk_sys_sram2 30 1 read-write clk_sys_sram3 31 1 read-write clk_sys_vreg_and_chip_reset 10 1 read-write SLEEP_EN1 enable clock in sleep mode 0xAC 32 read-write n 0x7FFF 0x0 clk_peri_uart0 6 1 read-write clk_peri_uart1 8 1 read-write clk_sys_sram4 0 1 read-write clk_sys_sram5 1 1 read-write clk_sys_syscfg 2 1 read-write clk_sys_sysinfo 3 1 read-write clk_sys_tbman 4 1 read-write clk_sys_timer 5 1 read-write clk_sys_uart0 7 1 read-write clk_sys_uart1 9 1 read-write clk_sys_usbctrl 10 1 read-write clk_sys_watchdog 12 1 read-write clk_sys_xip 13 1 read-write clk_sys_xosc 14 1 read-write clk_usb_usbctrl 11 1 read-write WAKE_EN0 enable clock in wake mode 0xA0 32 read-write n 0xFFFFFFFF 0x0 clk_adc_adc 1 1 read-write clk_peri_spi0 24 1 read-write clk_peri_spi1 26 1 read-write clk_rtc_rtc 21 1 read-write clk_sys_adc 2 1 read-write clk_sys_busctrl 3 1 read-write clk_sys_busfabric 4 1 read-write clk_sys_clocks 0 1 read-write clk_sys_dma 5 1 read-write clk_sys_i2c0 6 1 read-write clk_sys_i2c1 7 1 read-write clk_sys_io 8 1 read-write clk_sys_jtag 9 1 read-write clk_sys_pads 11 1 read-write clk_sys_pio0 12 1 read-write clk_sys_pio1 13 1 read-write clk_sys_pll_sys 14 1 read-write clk_sys_pll_usb 15 1 read-write clk_sys_psm 16 1 read-write clk_sys_pwm 17 1 read-write clk_sys_resets 18 1 read-write clk_sys_rom 19 1 read-write clk_sys_rosc 20 1 read-write clk_sys_rtc 22 1 read-write clk_sys_sio 23 1 read-write clk_sys_spi0 25 1 read-write clk_sys_spi1 27 1 read-write clk_sys_sram0 28 1 read-write clk_sys_sram1 29 1 read-write clk_sys_sram2 30 1 read-write clk_sys_sram3 31 1 read-write clk_sys_vreg_and_chip_reset 10 1 read-write WAKE_EN1 enable clock in wake mode 0xA4 32 read-write n 0x7FFF 0x0 clk_peri_uart0 6 1 read-write clk_peri_uart1 8 1 read-write clk_sys_sram4 0 1 read-write clk_sys_sram5 1 1 read-write clk_sys_syscfg 2 1 read-write clk_sys_sysinfo 3 1 read-write clk_sys_tbman 4 1 read-write clk_sys_timer 5 1 read-write clk_sys_uart0 7 1 read-write clk_sys_uart1 9 1 read-write clk_sys_usbctrl 10 1 read-write clk_sys_watchdog 12 1 read-write clk_sys_xip 13 1 read-write clk_sys_xosc 14 1 read-write clk_usb_usbctrl 11 1 read-write DMA DMA with separate read and write masters DMA 0x50000000 0x0 0x1000 registers n DMA_IRQ_0 11 DMA_IRQ_1 12 CH0_AL1_CTRL Alias for channel 0 CTRL register 0x10 32 read-write n 0x0 0x0 CH0_AL1_READ_ADDR Alias for channel 0 READ_ADDR register 0x14 32 read-write n 0x0 0x0 CH0_AL1_TRANS_COUNT_TRIG Alias for channel 0 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x1C 32 read-write n 0x0 0x0 CH0_AL1_WRITE_ADDR Alias for channel 0 WRITE_ADDR register 0x18 32 read-write n 0x0 0x0 CH0_AL2_CTRL Alias for channel 0 CTRL register 0x20 32 read-write n 0x0 0x0 CH0_AL2_READ_ADDR Alias for channel 0 READ_ADDR register 0x28 32 read-write n 0x0 0x0 CH0_AL2_TRANS_COUNT Alias for channel 0 TRANS_COUNT register 0x24 32 read-write n 0x0 0x0 CH0_AL2_WRITE_ADDR_TRIG Alias for channel 0 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x2C 32 read-write n 0x0 0x0 CH0_AL3_CTRL Alias for channel 0 CTRL register 0x30 32 read-write n 0x0 0x0 CH0_AL3_READ_ADDR_TRIG Alias for channel 0 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x3C 32 read-write n 0x0 0x0 CH0_AL3_TRANS_COUNT Alias for channel 0 TRANS_COUNT register 0x38 32 read-write n 0x0 0x0 CH0_AL3_WRITE_ADDR Alias for channel 0 WRITE_ADDR register 0x34 32 read-write n 0x0 0x0 CH0_CTRL_TRIG DMA Channel 0 Control and Status 0xC 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH0_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0x800 32 read-write n 0x0 0x0 CH0_DBG_CTDREQ 0 6 read-write oneToClear CH0_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0x804 32 read-only n 0x0 0x0 CH0_READ_ADDR DMA Channel 0 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x0 32 read-write n 0x0 0x0 CH0_TRANS_COUNT DMA Channel 0 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x8 32 read-write n 0x0 0x0 CH0_WRITE_ADDR DMA Channel 0 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x4 32 read-write n 0x0 0x0 CH10_AL1_CTRL Alias for channel 10 CTRL register 0x290 32 read-write n 0x0 0x0 CH10_AL1_READ_ADDR Alias for channel 10 READ_ADDR register 0x294 32 read-write n 0x0 0x0 CH10_AL1_TRANS_COUNT_TRIG Alias for channel 10 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x29C 32 read-write n 0x0 0x0 CH10_AL1_WRITE_ADDR Alias for channel 10 WRITE_ADDR register 0x298 32 read-write n 0x0 0x0 CH10_AL2_CTRL Alias for channel 10 CTRL register 0x2A0 32 read-write n 0x0 0x0 CH10_AL2_READ_ADDR Alias for channel 10 READ_ADDR register 0x2A8 32 read-write n 0x0 0x0 CH10_AL2_TRANS_COUNT Alias for channel 10 TRANS_COUNT register 0x2A4 32 read-write n 0x0 0x0 CH10_AL2_WRITE_ADDR_TRIG Alias for channel 10 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x2AC 32 read-write n 0x0 0x0 CH10_AL3_CTRL Alias for channel 10 CTRL register 0x2B0 32 read-write n 0x0 0x0 CH10_AL3_READ_ADDR_TRIG Alias for channel 10 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x2BC 32 read-write n 0x0 0x0 CH10_AL3_TRANS_COUNT Alias for channel 10 TRANS_COUNT register 0x2B8 32 read-write n 0x0 0x0 CH10_AL3_WRITE_ADDR Alias for channel 10 WRITE_ADDR register 0x2B4 32 read-write n 0x0 0x0 CH10_CTRL_TRIG DMA Channel 10 Control and Status 0x28C 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH10_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0xA80 32 read-write n 0x0 0x0 CH10_DBG_CTDREQ 0 6 read-write oneToClear CH10_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0xA84 32 read-only n 0x0 0x0 CH10_READ_ADDR DMA Channel 10 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x280 32 read-write n 0x0 0x0 CH10_TRANS_COUNT DMA Channel 10 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x288 32 read-write n 0x0 0x0 CH10_WRITE_ADDR DMA Channel 10 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x284 32 read-write n 0x0 0x0 CH11_AL1_CTRL Alias for channel 11 CTRL register 0x2D0 32 read-write n 0x0 0x0 CH11_AL1_READ_ADDR Alias for channel 11 READ_ADDR register 0x2D4 32 read-write n 0x0 0x0 CH11_AL1_TRANS_COUNT_TRIG Alias for channel 11 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x2DC 32 read-write n 0x0 0x0 CH11_AL1_WRITE_ADDR Alias for channel 11 WRITE_ADDR register 0x2D8 32 read-write n 0x0 0x0 CH11_AL2_CTRL Alias for channel 11 CTRL register 0x2E0 32 read-write n 0x0 0x0 CH11_AL2_READ_ADDR Alias for channel 11 READ_ADDR register 0x2E8 32 read-write n 0x0 0x0 CH11_AL2_TRANS_COUNT Alias for channel 11 TRANS_COUNT register 0x2E4 32 read-write n 0x0 0x0 CH11_AL2_WRITE_ADDR_TRIG Alias for channel 11 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x2EC 32 read-write n 0x0 0x0 CH11_AL3_CTRL Alias for channel 11 CTRL register 0x2F0 32 read-write n 0x0 0x0 CH11_AL3_READ_ADDR_TRIG Alias for channel 11 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x2FC 32 read-write n 0x0 0x0 CH11_AL3_TRANS_COUNT Alias for channel 11 TRANS_COUNT register 0x2F8 32 read-write n 0x0 0x0 CH11_AL3_WRITE_ADDR Alias for channel 11 WRITE_ADDR register 0x2F4 32 read-write n 0x0 0x0 CH11_CTRL_TRIG DMA Channel 11 Control and Status 0x2CC 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH11_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0xAC0 32 read-write n 0x0 0x0 CH11_DBG_CTDREQ 0 6 read-write oneToClear CH11_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0xAC4 32 read-only n 0x0 0x0 CH11_READ_ADDR DMA Channel 11 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x2C0 32 read-write n 0x0 0x0 CH11_TRANS_COUNT DMA Channel 11 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x2C8 32 read-write n 0x0 0x0 CH11_WRITE_ADDR DMA Channel 11 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x2C4 32 read-write n 0x0 0x0 CH1_AL1_CTRL Alias for channel 1 CTRL register 0x50 32 read-write n 0x0 0x0 CH1_AL1_READ_ADDR Alias for channel 1 READ_ADDR register 0x54 32 read-write n 0x0 0x0 CH1_AL1_TRANS_COUNT_TRIG Alias for channel 1 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x5C 32 read-write n 0x0 0x0 CH1_AL1_WRITE_ADDR Alias for channel 1 WRITE_ADDR register 0x58 32 read-write n 0x0 0x0 CH1_AL2_CTRL Alias for channel 1 CTRL register 0x60 32 read-write n 0x0 0x0 CH1_AL2_READ_ADDR Alias for channel 1 READ_ADDR register 0x68 32 read-write n 0x0 0x0 CH1_AL2_TRANS_COUNT Alias for channel 1 TRANS_COUNT register 0x64 32 read-write n 0x0 0x0 CH1_AL2_WRITE_ADDR_TRIG Alias for channel 1 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x6C 32 read-write n 0x0 0x0 CH1_AL3_CTRL Alias for channel 1 CTRL register 0x70 32 read-write n 0x0 0x0 CH1_AL3_READ_ADDR_TRIG Alias for channel 1 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x7C 32 read-write n 0x0 0x0 CH1_AL3_TRANS_COUNT Alias for channel 1 TRANS_COUNT register 0x78 32 read-write n 0x0 0x0 CH1_AL3_WRITE_ADDR Alias for channel 1 WRITE_ADDR register 0x74 32 read-write n 0x0 0x0 CH1_CTRL_TRIG DMA Channel 1 Control and Status 0x4C 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH1_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0x840 32 read-write n 0x0 0x0 CH1_DBG_CTDREQ 0 6 read-write oneToClear CH1_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0x844 32 read-only n 0x0 0x0 CH1_READ_ADDR DMA Channel 1 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x40 32 read-write n 0x0 0x0 CH1_TRANS_COUNT DMA Channel 1 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x48 32 read-write n 0x0 0x0 CH1_WRITE_ADDR DMA Channel 1 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x44 32 read-write n 0x0 0x0 CH2_AL1_CTRL Alias for channel 2 CTRL register 0x90 32 read-write n 0x0 0x0 CH2_AL1_READ_ADDR Alias for channel 2 READ_ADDR register 0x94 32 read-write n 0x0 0x0 CH2_AL1_TRANS_COUNT_TRIG Alias for channel 2 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x9C 32 read-write n 0x0 0x0 CH2_AL1_WRITE_ADDR Alias for channel 2 WRITE_ADDR register 0x98 32 read-write n 0x0 0x0 CH2_AL2_CTRL Alias for channel 2 CTRL register 0xA0 32 read-write n 0x0 0x0 CH2_AL2_READ_ADDR Alias for channel 2 READ_ADDR register 0xA8 32 read-write n 0x0 0x0 CH2_AL2_TRANS_COUNT Alias for channel 2 TRANS_COUNT register 0xA4 32 read-write n 0x0 0x0 CH2_AL2_WRITE_ADDR_TRIG Alias for channel 2 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0xAC 32 read-write n 0x0 0x0 CH2_AL3_CTRL Alias for channel 2 CTRL register 0xB0 32 read-write n 0x0 0x0 CH2_AL3_READ_ADDR_TRIG Alias for channel 2 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0xBC 32 read-write n 0x0 0x0 CH2_AL3_TRANS_COUNT Alias for channel 2 TRANS_COUNT register 0xB8 32 read-write n 0x0 0x0 CH2_AL3_WRITE_ADDR Alias for channel 2 WRITE_ADDR register 0xB4 32 read-write n 0x0 0x0 CH2_CTRL_TRIG DMA Channel 2 Control and Status 0x8C 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH2_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0x880 32 read-write n 0x0 0x0 CH2_DBG_CTDREQ 0 6 read-write oneToClear CH2_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0x884 32 read-only n 0x0 0x0 CH2_READ_ADDR DMA Channel 2 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x80 32 read-write n 0x0 0x0 CH2_TRANS_COUNT DMA Channel 2 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x88 32 read-write n 0x0 0x0 CH2_WRITE_ADDR DMA Channel 2 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x84 32 read-write n 0x0 0x0 CH3_AL1_CTRL Alias for channel 3 CTRL register 0xD0 32 read-write n 0x0 0x0 CH3_AL1_READ_ADDR Alias for channel 3 READ_ADDR register 0xD4 32 read-write n 0x0 0x0 CH3_AL1_TRANS_COUNT_TRIG Alias for channel 3 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0xDC 32 read-write n 0x0 0x0 CH3_AL1_WRITE_ADDR Alias for channel 3 WRITE_ADDR register 0xD8 32 read-write n 0x0 0x0 CH3_AL2_CTRL Alias for channel 3 CTRL register 0xE0 32 read-write n 0x0 0x0 CH3_AL2_READ_ADDR Alias for channel 3 READ_ADDR register 0xE8 32 read-write n 0x0 0x0 CH3_AL2_TRANS_COUNT Alias for channel 3 TRANS_COUNT register 0xE4 32 read-write n 0x0 0x0 CH3_AL2_WRITE_ADDR_TRIG Alias for channel 3 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0xEC 32 read-write n 0x0 0x0 CH3_AL3_CTRL Alias for channel 3 CTRL register 0xF0 32 read-write n 0x0 0x0 CH3_AL3_READ_ADDR_TRIG Alias for channel 3 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0xFC 32 read-write n 0x0 0x0 CH3_AL3_TRANS_COUNT Alias for channel 3 TRANS_COUNT register 0xF8 32 read-write n 0x0 0x0 CH3_AL3_WRITE_ADDR Alias for channel 3 WRITE_ADDR register 0xF4 32 read-write n 0x0 0x0 CH3_CTRL_TRIG DMA Channel 3 Control and Status 0xCC 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH3_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0x8C0 32 read-write n 0x0 0x0 CH3_DBG_CTDREQ 0 6 read-write oneToClear CH3_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0x8C4 32 read-only n 0x0 0x0 CH3_READ_ADDR DMA Channel 3 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0xC0 32 read-write n 0x0 0x0 CH3_TRANS_COUNT DMA Channel 3 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0xC8 32 read-write n 0x0 0x0 CH3_WRITE_ADDR DMA Channel 3 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0xC4 32 read-write n 0x0 0x0 CH4_AL1_CTRL Alias for channel 4 CTRL register 0x110 32 read-write n 0x0 0x0 CH4_AL1_READ_ADDR Alias for channel 4 READ_ADDR register 0x114 32 read-write n 0x0 0x0 CH4_AL1_TRANS_COUNT_TRIG Alias for channel 4 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x11C 32 read-write n 0x0 0x0 CH4_AL1_WRITE_ADDR Alias for channel 4 WRITE_ADDR register 0x118 32 read-write n 0x0 0x0 CH4_AL2_CTRL Alias for channel 4 CTRL register 0x120 32 read-write n 0x0 0x0 CH4_AL2_READ_ADDR Alias for channel 4 READ_ADDR register 0x128 32 read-write n 0x0 0x0 CH4_AL2_TRANS_COUNT Alias for channel 4 TRANS_COUNT register 0x124 32 read-write n 0x0 0x0 CH4_AL2_WRITE_ADDR_TRIG Alias for channel 4 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x12C 32 read-write n 0x0 0x0 CH4_AL3_CTRL Alias for channel 4 CTRL register 0x130 32 read-write n 0x0 0x0 CH4_AL3_READ_ADDR_TRIG Alias for channel 4 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x13C 32 read-write n 0x0 0x0 CH4_AL3_TRANS_COUNT Alias for channel 4 TRANS_COUNT register 0x138 32 read-write n 0x0 0x0 CH4_AL3_WRITE_ADDR Alias for channel 4 WRITE_ADDR register 0x134 32 read-write n 0x0 0x0 CH4_CTRL_TRIG DMA Channel 4 Control and Status 0x10C 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH4_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0x900 32 read-write n 0x0 0x0 CH4_DBG_CTDREQ 0 6 read-write oneToClear CH4_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0x904 32 read-only n 0x0 0x0 CH4_READ_ADDR DMA Channel 4 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x100 32 read-write n 0x0 0x0 CH4_TRANS_COUNT DMA Channel 4 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x108 32 read-write n 0x0 0x0 CH4_WRITE_ADDR DMA Channel 4 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x104 32 read-write n 0x0 0x0 CH5_AL1_CTRL Alias for channel 5 CTRL register 0x150 32 read-write n 0x0 0x0 CH5_AL1_READ_ADDR Alias for channel 5 READ_ADDR register 0x154 32 read-write n 0x0 0x0 CH5_AL1_TRANS_COUNT_TRIG Alias for channel 5 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x15C 32 read-write n 0x0 0x0 CH5_AL1_WRITE_ADDR Alias for channel 5 WRITE_ADDR register 0x158 32 read-write n 0x0 0x0 CH5_AL2_CTRL Alias for channel 5 CTRL register 0x160 32 read-write n 0x0 0x0 CH5_AL2_READ_ADDR Alias for channel 5 READ_ADDR register 0x168 32 read-write n 0x0 0x0 CH5_AL2_TRANS_COUNT Alias for channel 5 TRANS_COUNT register 0x164 32 read-write n 0x0 0x0 CH5_AL2_WRITE_ADDR_TRIG Alias for channel 5 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x16C 32 read-write n 0x0 0x0 CH5_AL3_CTRL Alias for channel 5 CTRL register 0x170 32 read-write n 0x0 0x0 CH5_AL3_READ_ADDR_TRIG Alias for channel 5 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x17C 32 read-write n 0x0 0x0 CH5_AL3_TRANS_COUNT Alias for channel 5 TRANS_COUNT register 0x178 32 read-write n 0x0 0x0 CH5_AL3_WRITE_ADDR Alias for channel 5 WRITE_ADDR register 0x174 32 read-write n 0x0 0x0 CH5_CTRL_TRIG DMA Channel 5 Control and Status 0x14C 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH5_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0x940 32 read-write n 0x0 0x0 CH5_DBG_CTDREQ 0 6 read-write oneToClear CH5_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0x944 32 read-only n 0x0 0x0 CH5_READ_ADDR DMA Channel 5 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x140 32 read-write n 0x0 0x0 CH5_TRANS_COUNT DMA Channel 5 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x148 32 read-write n 0x0 0x0 CH5_WRITE_ADDR DMA Channel 5 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x144 32 read-write n 0x0 0x0 CH6_AL1_CTRL Alias for channel 6 CTRL register 0x190 32 read-write n 0x0 0x0 CH6_AL1_READ_ADDR Alias for channel 6 READ_ADDR register 0x194 32 read-write n 0x0 0x0 CH6_AL1_TRANS_COUNT_TRIG Alias for channel 6 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x19C 32 read-write n 0x0 0x0 CH6_AL1_WRITE_ADDR Alias for channel 6 WRITE_ADDR register 0x198 32 read-write n 0x0 0x0 CH6_AL2_CTRL Alias for channel 6 CTRL register 0x1A0 32 read-write n 0x0 0x0 CH6_AL2_READ_ADDR Alias for channel 6 READ_ADDR register 0x1A8 32 read-write n 0x0 0x0 CH6_AL2_TRANS_COUNT Alias for channel 6 TRANS_COUNT register 0x1A4 32 read-write n 0x0 0x0 CH6_AL2_WRITE_ADDR_TRIG Alias for channel 6 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x1AC 32 read-write n 0x0 0x0 CH6_AL3_CTRL Alias for channel 6 CTRL register 0x1B0 32 read-write n 0x0 0x0 CH6_AL3_READ_ADDR_TRIG Alias for channel 6 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x1BC 32 read-write n 0x0 0x0 CH6_AL3_TRANS_COUNT Alias for channel 6 TRANS_COUNT register 0x1B8 32 read-write n 0x0 0x0 CH6_AL3_WRITE_ADDR Alias for channel 6 WRITE_ADDR register 0x1B4 32 read-write n 0x0 0x0 CH6_CTRL_TRIG DMA Channel 6 Control and Status 0x18C 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH6_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0x980 32 read-write n 0x0 0x0 CH6_DBG_CTDREQ 0 6 read-write oneToClear CH6_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0x984 32 read-only n 0x0 0x0 CH6_READ_ADDR DMA Channel 6 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x180 32 read-write n 0x0 0x0 CH6_TRANS_COUNT DMA Channel 6 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x188 32 read-write n 0x0 0x0 CH6_WRITE_ADDR DMA Channel 6 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x184 32 read-write n 0x0 0x0 CH7_AL1_CTRL Alias for channel 7 CTRL register 0x1D0 32 read-write n 0x0 0x0 CH7_AL1_READ_ADDR Alias for channel 7 READ_ADDR register 0x1D4 32 read-write n 0x0 0x0 CH7_AL1_TRANS_COUNT_TRIG Alias for channel 7 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x1DC 32 read-write n 0x0 0x0 CH7_AL1_WRITE_ADDR Alias for channel 7 WRITE_ADDR register 0x1D8 32 read-write n 0x0 0x0 CH7_AL2_CTRL Alias for channel 7 CTRL register 0x1E0 32 read-write n 0x0 0x0 CH7_AL2_READ_ADDR Alias for channel 7 READ_ADDR register 0x1E8 32 read-write n 0x0 0x0 CH7_AL2_TRANS_COUNT Alias for channel 7 TRANS_COUNT register 0x1E4 32 read-write n 0x0 0x0 CH7_AL2_WRITE_ADDR_TRIG Alias for channel 7 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x1EC 32 read-write n 0x0 0x0 CH7_AL3_CTRL Alias for channel 7 CTRL register 0x1F0 32 read-write n 0x0 0x0 CH7_AL3_READ_ADDR_TRIG Alias for channel 7 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x1FC 32 read-write n 0x0 0x0 CH7_AL3_TRANS_COUNT Alias for channel 7 TRANS_COUNT register 0x1F8 32 read-write n 0x0 0x0 CH7_AL3_WRITE_ADDR Alias for channel 7 WRITE_ADDR register 0x1F4 32 read-write n 0x0 0x0 CH7_CTRL_TRIG DMA Channel 7 Control and Status 0x1CC 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH7_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0x9C0 32 read-write n 0x0 0x0 CH7_DBG_CTDREQ 0 6 read-write oneToClear CH7_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0x9C4 32 read-only n 0x0 0x0 CH7_READ_ADDR DMA Channel 7 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x1C0 32 read-write n 0x0 0x0 CH7_TRANS_COUNT DMA Channel 7 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x1C8 32 read-write n 0x0 0x0 CH7_WRITE_ADDR DMA Channel 7 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x1C4 32 read-write n 0x0 0x0 CH8_AL1_CTRL Alias for channel 8 CTRL register 0x210 32 read-write n 0x0 0x0 CH8_AL1_READ_ADDR Alias for channel 8 READ_ADDR register 0x214 32 read-write n 0x0 0x0 CH8_AL1_TRANS_COUNT_TRIG Alias for channel 8 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x21C 32 read-write n 0x0 0x0 CH8_AL1_WRITE_ADDR Alias for channel 8 WRITE_ADDR register 0x218 32 read-write n 0x0 0x0 CH8_AL2_CTRL Alias for channel 8 CTRL register 0x220 32 read-write n 0x0 0x0 CH8_AL2_READ_ADDR Alias for channel 8 READ_ADDR register 0x228 32 read-write n 0x0 0x0 CH8_AL2_TRANS_COUNT Alias for channel 8 TRANS_COUNT register 0x224 32 read-write n 0x0 0x0 CH8_AL2_WRITE_ADDR_TRIG Alias for channel 8 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x22C 32 read-write n 0x0 0x0 CH8_AL3_CTRL Alias for channel 8 CTRL register 0x230 32 read-write n 0x0 0x0 CH8_AL3_READ_ADDR_TRIG Alias for channel 8 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x23C 32 read-write n 0x0 0x0 CH8_AL3_TRANS_COUNT Alias for channel 8 TRANS_COUNT register 0x238 32 read-write n 0x0 0x0 CH8_AL3_WRITE_ADDR Alias for channel 8 WRITE_ADDR register 0x234 32 read-write n 0x0 0x0 CH8_CTRL_TRIG DMA Channel 8 Control and Status 0x20C 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH8_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0xA00 32 read-write n 0x0 0x0 CH8_DBG_CTDREQ 0 6 read-write oneToClear CH8_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0xA04 32 read-only n 0x0 0x0 CH8_READ_ADDR DMA Channel 8 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x200 32 read-write n 0x0 0x0 CH8_TRANS_COUNT DMA Channel 8 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x208 32 read-write n 0x0 0x0 CH8_WRITE_ADDR DMA Channel 8 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x204 32 read-write n 0x0 0x0 CH9_AL1_CTRL Alias for channel 9 CTRL register 0x250 32 read-write n 0x0 0x0 CH9_AL1_READ_ADDR Alias for channel 9 READ_ADDR register 0x254 32 read-write n 0x0 0x0 CH9_AL1_TRANS_COUNT_TRIG Alias for channel 9 TRANS_COUNT register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x25C 32 read-write n 0x0 0x0 CH9_AL1_WRITE_ADDR Alias for channel 9 WRITE_ADDR register 0x258 32 read-write n 0x0 0x0 CH9_AL2_CTRL Alias for channel 9 CTRL register 0x260 32 read-write n 0x0 0x0 CH9_AL2_READ_ADDR Alias for channel 9 READ_ADDR register 0x268 32 read-write n 0x0 0x0 CH9_AL2_TRANS_COUNT Alias for channel 9 TRANS_COUNT register 0x264 32 read-write n 0x0 0x0 CH9_AL2_WRITE_ADDR_TRIG Alias for channel 9 WRITE_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x26C 32 read-write n 0x0 0x0 CH9_AL3_CTRL Alias for channel 9 CTRL register 0x270 32 read-write n 0x0 0x0 CH9_AL3_READ_ADDR_TRIG Alias for channel 9 READ_ADDR register This is a trigger register (0xc). Writing a nonzero value will reload the channel counter and start the channel. 0x27C 32 read-write n 0x0 0x0 CH9_AL3_TRANS_COUNT Alias for channel 9 TRANS_COUNT register 0x278 32 read-write n 0x0 0x0 CH9_AL3_WRITE_ADDR Alias for channel 9 WRITE_ADDR register 0x274 32 read-write n 0x0 0x0 CH9_CTRL_TRIG DMA Channel 9 Control and Status 0x24C 32 read-write n 0x0 0x0 AHB_ERROR Logical OR of the READ_ERROR and WRITE_ERROR flags. The channel halts when it encounters any bus error, and always raises its channel IRQ flag. 31 1 read-only BSWAP Apply byte-swap transformation to DMA data. For byte data, this has no effect. For halfword data, the two bytes of each halfword are swapped. For word data, the four bytes of each word are swapped to reverse order. 22 1 read-write BUSY This flag goes high when the channel starts a new transfer sequence, and low when the last transfer of that sequence completes. Clearing EN while BUSY is high pauses the channel, and BUSY will stay high while paused. To terminate a sequence early (and clear the BUSY flag), see CHAN_ABORT. 24 1 read-only CHAIN_TO When this channel completes, it will trigger the channel indicated by CHAIN_TO. Disable by setting CHAIN_TO = _(this channel)_. 11 4 read-write DATA_SIZE Set the size of each bus transfer (byte/halfword/word). READ_ADDR and WRITE_ADDR advance by this amount (1/2/4 bytes) with each transfer. 2 2 read-write SIZE_BYTE None 0 SIZE_HALFWORD None 1 SIZE_WORD None 2 EN DMA Channel Enable. When 1, the channel will respond to triggering events, which will cause it to become BUSY and start transferring data. When 0, the channel will ignore triggers, stop issuing transfers, and pause the current transfer sequence (i.e. BUSY will remain high if already high) 0 1 read-write HIGH_PRIORITY HIGH_PRIORITY gives a channel preferential treatment in issue scheduling: in each scheduling round, all high priority channels are considered first, and then only a single low priority channel, before returning to the high priority channels. This only affects the order in which the DMA schedules channels. The DMA's bus priority is not changed. If the DMA is not saturated then a low priority channel will see no loss of throughput. 1 1 read-write INCR_READ If 1, the read address increments with each transfer. If 0, each read is directed to the same, initial address. Generally this should be disabled for peripheral-to-memory transfers. 4 1 read-write INCR_WRITE If 1, the write address increments with each transfer. If 0, each write is directed to the same, initial address. Generally this should be disabled for memory-to-peripheral transfers. 5 1 read-write IRQ_QUIET In QUIET mode, the channel does not generate IRQs at the end of every transfer block. Instead, an IRQ is raised when NULL is written to a trigger register, indicating the end of a control block chain. This reduces the number of interrupts to be serviced by the CPU when transferring a DMA chain of many small control blocks. 21 1 read-write READ_ERROR If 1, the channel received a read bus error. Write one to clear. READ_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 3 transfers later) 30 1 read-write oneToClear RING_SEL Select whether RING_SIZE applies to read or write addresses. If 0, read addresses are wrapped on a (1 << RING_SIZE) boundary. If 1, write addresses are wrapped. 10 1 read-write RING_SIZE Size of address wrap region. If 0, don't wrap. For values n > 0, only the lower n bits of the address will change. This wraps the address on a (1 << n) byte boundary, facilitating access to naturally-aligned ring buffers. Ring sizes between 2 and 32768 bytes are possible. This can apply to either read or write addresses, based on value of RING_SEL. 6 4 read-write RING_NONE None 0 SNIFF_EN If 1, this channel's data transfers are visible to the sniff hardware, and each transfer will advance the state of the checksum. This only applies if the sniff hardware is enabled, and has this channel selected. This allows checksum to be enabled or disabled on a per-control- block basis. 23 1 read-write TREQ_SEL Select a Transfer Request signal. The channel uses the transfer request signal to pace its data transfer rate. Sources for TREQ signals are internal (TIMERS) or external (DREQ, a Data Request from the system). 0x0 to 0x3a -> select DREQ n as TREQ 15 6 read-write TIMER0 Select Timer 0 as TREQ 59 TIMER1 Select Timer 1 as TREQ 60 TIMER2 Select Timer 2 as TREQ (Optional) 61 TIMER3 Select Timer 3 as TREQ (Optional) 62 PERMANENT Permanent request, for unpaced transfers. 63 WRITE_ERROR If 1, the channel received a write bus error. Write one to clear. WRITE_ADDR shows the approximate address where the bus error was encountered (will not to be earlier, or more than 5 transfers later) 29 1 read-write oneToClear CH9_DBG_CTDREQ Read: get channel DREQ counter (i.e. how many accesses the DMA expects it can perform on the peripheral without overflow/underflow. Write any value: clears the counter, and cause channel to re-initiate DREQ handshake. 0xA40 32 read-write n 0x0 0x0 CH9_DBG_CTDREQ 0 6 read-write oneToClear CH9_DBG_TCR Read to get channel TRANS_COUNT reload value, i.e. the length of the next transfer 0xA44 32 read-only n 0x0 0x0 CH9_READ_ADDR DMA Channel 9 Read Address pointer This register updates automatically each time a read completes. The current value is the next address to be read by this channel. 0x240 32 read-write n 0x0 0x0 CH9_TRANS_COUNT DMA Channel 9 Transfer Count Program the number of bus transfers a channel will perform before halting. Note that, if transfers are larger than one byte in size, this is not equal to the number of bytes transferred (see CTRL_DATA_SIZE). When the channel is active, reading this register shows the number of transfers remaining, updating automatically each time a write transfer completes. Writing this register sets the RELOAD value for the transfer counter. Each time this channel is triggered, the RELOAD value is copied into the live transfer counter. The channel can be started multiple times, and will perform the same number of transfers each time, as programmed by most recent write. The RELOAD value can be observed at CHx_DBG_TCR. If TRANS_COUNT is used as a trigger, the written value is used immediately as the length of the new transfer sequence, as well as being written to RELOAD. 0x248 32 read-write n 0x0 0x0 CH9_WRITE_ADDR DMA Channel 9 Write Address pointer This register updates automatically each time a write completes. The current value is the next address to be written by this channel. 0x244 32 read-write n 0x0 0x0 CHAN_ABORT Abort an in-progress transfer sequence on one or more channels 0x444 32 read-write n 0x0 0x0 CHAN_ABORT Each bit corresponds to a channel. Writing a 1 aborts whatever transfer sequence is in progress on that channel. The bit will remain high until any in-flight transfers have been flushed through the address and data FIFOs. After writing, this register must be polled until it returns all-zero. Until this point, it is unsafe to restart the channel. 0 16 read-write clear FIFO_LEVELS Debug RAF, WAF, TDF levels 0x440 32 read-write n 0x0 0x0 RAF_LVL Current Read-Address-FIFO fill level 16 8 read-only TDF_LVL Current Transfer-Data-FIFO fill level 0 8 read-only WAF_LVL Current Write-Address-FIFO fill level 8 8 read-only INTE0 Interrupt Enables for IRQ 0 0x404 32 read-write n 0x0 0x0 INTE0 Set bit n to pass interrupts from channel n to DMA IRQ 0. 0 16 read-write INTE1 Interrupt Enables for IRQ 1 0x414 32 read-write n 0x0 0x0 INTE1 Set bit n to pass interrupts from channel n to DMA IRQ 1. 0 16 read-write INTF0 Force Interrupts 0x408 32 read-write n 0x0 0x0 INTF0 Write 1s to force the corresponding bits in INTE0. The interrupt remains asserted until INTF0 is cleared. 0 16 read-write INTF1 Force Interrupts for IRQ 1 0x418 32 read-write n 0x0 0x0 INTF1 Write 1s to force the corresponding bits in INTE0. The interrupt remains asserted until INTF0 is cleared. 0 16 read-write INTR Interrupt Status (raw) 0x400 32 read-write n 0x0 0x0 INTR Raw interrupt status for DMA Channels 0..15. Bit n corresponds to channel n. Ignores any masking or forcing. Channel interrupts can be cleared by writing a bit mask to INTR, INTS0 or INTS1. Channel interrupts can be routed to either of two system-level IRQs based on INTE0 and INTE1. This can be used vector different channel interrupts to different ISRs: this might be done to allow NVIC IRQ preemption for more time-critical channels, or to spread IRQ load across different cores. It is also valid to ignore this behaviour and just use INTE0/INTS0/IRQ 0. 0 16 read-only INTS0 Interrupt Status for IRQ 0 0x40C 32 read-write n 0x0 0x0 INTS0 Indicates active channel interrupt requests which are currently causing IRQ 0 to be asserted. Channel interrupts can be cleared by writing a bit mask here. 0 16 read-write oneToClear INTS1 Interrupt Status (masked) for IRQ 1 0x41C 32 read-write n 0x0 0x0 INTS1 Indicates active channel interrupt requests which are currently causing IRQ 1 to be asserted. Channel interrupts can be cleared by writing a bit mask here. 0 16 read-write oneToClear MULTI_CHAN_TRIGGER Trigger one or more channels simultaneously 0x430 32 read-write n 0x0 0x0 MULTI_CHAN_TRIGGER Each bit in this register corresponds to a DMA channel. Writing a 1 to the relevant bit is the same as writing to that channel's trigger register the channel will start if it is currently enabled and not already busy. 0 16 read-write clear N_CHANNELS The number of channels this DMA instance is equipped with. This DMA supports up to 16 hardware channels, but can be configured with as few as one, to minimise silicon area. 0x448 32 read-write n 0x0 0x0 N_CHANNELS 0 5 read-only SNIFF_CTRL Sniffer Control 0x434 32 read-write n 0x0 0x0 BSWAP Locally perform a byte reverse on the sniffed data, before feeding into checksum. Note that the sniff hardware is downstream of the DMA channel byteswap performed in the read master: if channel CTRL_BSWAP and SNIFF_CTRL_BSWAP are both enabled, their effects cancel from the sniffer's point of view. 9 1 read-write CALC 5 4 read-write CRC32 Calculate a CRC-32 (IEEE802.3 polynomial) 0 CRC32R Calculate a CRC-32 (IEEE802.3 polynomial) with bit reversed data 1 EVEN XOR reduction over all data. == 1 if the total 1 population count is odd. 14 SUM Calculate a simple 32-bit checksum (addition with a 32 bit accumulator) 15 CRC16 Calculate a CRC-16-CCITT 2 CRC16R Calculate a CRC-16-CCITT with bit reversed data 3 DMACH DMA channel for Sniffer to observe 1 4 read-write EN Enable sniffer 0 1 read-write OUT_INV If set, the result appears inverted (bitwise complement) when read. This does not affect the way the checksum is calculated the result is transformed on-the-fly between the result register and the bus. 11 1 read-write OUT_REV If set, the result appears bit-reversed when read. This does not affect the way the checksum is calculated the result is transformed on-the-fly between the result register and the bus. 10 1 read-write SNIFF_DATA Data accumulator for sniff hardware Write an initial seed value here before starting a DMA transfer on the channel indicated by SNIFF_CTRL_DMACH. The hardware will update this register each time it observes a read from the indicated channel. Once the channel completes, the final result can be read from this register. 0x438 32 read-write n 0x0 0x0 TIMER0 Pacing (X/Y) Fractional Timer The pacing timer produces TREQ assertions at a rate set by ((X/Y) * sys_clk). This equation is evaluated every sys_clk cycles and therefore can only generate TREQs at a rate of 1 per sys_clk (i.e. permanent TREQ) or less. 0x420 32 read-write n 0x0 0x0 X Pacing Timer Dividend. Specifies the X value for the (X/Y) fractional timer. 16 16 read-write Y Pacing Timer Divisor. Specifies the Y value for the (X/Y) fractional timer. 0 16 read-write TIMER1 Pacing (X/Y) Fractional Timer The pacing timer produces TREQ assertions at a rate set by ((X/Y) * sys_clk). This equation is evaluated every sys_clk cycles and therefore can only generate TREQs at a rate of 1 per sys_clk (i.e. permanent TREQ) or less. 0x424 32 read-write n 0x0 0x0 X Pacing Timer Dividend. Specifies the X value for the (X/Y) fractional timer. 16 16 read-write Y Pacing Timer Divisor. Specifies the Y value for the (X/Y) fractional timer. 0 16 read-write TIMER2 Pacing (X/Y) Fractional Timer The pacing timer produces TREQ assertions at a rate set by ((X/Y) * sys_clk). This equation is evaluated every sys_clk cycles and therefore can only generate TREQs at a rate of 1 per sys_clk (i.e. permanent TREQ) or less. 0x428 32 n 0x0 X Pacing Timer Dividend. Specifies the X value for the (X/Y) fractional timer. 16 16 read-write Y Pacing Timer Divisor. Specifies the Y value for the (X/Y) fractional timer. 0 16 read-write TIMER3 Pacing (X/Y) Fractional Timer The pacing timer produces TREQ assertions at a rate set by ((X/Y) * sys_clk). This equation is evaluated every sys_clk cycles and therefore can only generate TREQs at a rate of 1 per sys_clk (i.e. permanent TREQ) or less. 0x42C 32 n 0x0 X Pacing Timer Dividend. Specifies the X value for the (X/Y) fractional timer. 16 16 read-write Y Pacing Timer Divisor. Specifies the Y value for the (X/Y) fractional timer. 0 16 read-write I2C0 DW_apb_i2c address block List of configuration constants for the Synopsys I2C hardware (you may see references to these in I2C register header these are *fixed* values, set at hardware design time): IC_ULTRA_FAST_MODE ................ 0x0 IC_UFM_TBUF_CNT_DEFAULT ........... 0x8 IC_UFM_SCL_LOW_COUNT .............. 0x0008 IC_UFM_SCL_HIGH_COUNT ............. 0x0006 IC_TX_TL .......................... 0x0 IC_TX_CMD_BLOCK ................... 0x1 IC_HAS_DMA ........................ 0x1 IC_HAS_ASYNC_FIFO ................. 0x0 IC_SMBUS_ARP ...................... 0x0 IC_FIRST_DATA_BYTE_STATUS ......... 0x1 IC_INTR_IO ........................ 0x1 IC_MASTER_MODE .................... 0x1 IC_DEFAULT_ACK_GENERAL_CALL ....... 0x1 IC_INTR_POL ....................... 0x1 IC_OPTIONAL_SAR ................... 0x0 IC_DEFAULT_TAR_SLAVE_ADDR ......... 0x055 IC_DEFAULT_SLAVE_ADDR ............. 0x055 IC_DEFAULT_HS_SPKLEN .............. 0x1 IC_FS_SCL_HIGH_COUNT .............. 0x0006 IC_HS_SCL_LOW_COUNT ............... 0x0008 IC_DEVICE_ID_VALUE ................ 0x0 IC_10BITADDR_MASTER ............... 0x0 IC_CLK_FREQ_OPTIMIZATION .......... 0x0 IC_DEFAULT_FS_SPKLEN .............. 0x7 IC_ADD_ENCODED_PARAMS ............. 0x0 IC_DEFAULT_SDA_HOLD ............... 0x000001 IC_DEFAULT_SDA_SETUP .............. 0x64 IC_AVOID_RX_FIFO_FLUSH_ON_TX_ABRT . 0x0 IC_CLOCK_PERIOD ................... 100 IC_EMPTYFIFO_HOLD_MASTER_EN ....... 1 IC_RESTART_EN ..................... 0x1 IC_TX_CMD_BLOCK_DEFAULT ........... 0x0 IC_BUS_CLEAR_FEATURE .............. 0x0 IC_CAP_LOADING .................... 100 IC_FS_SCL_LOW_COUNT ............... 0x000d APB_DATA_WIDTH .................... 32 IC_SDA_STUCK_TIMEOUT_DEFAULT ...... 0xffffffff IC_SLV_DATA_NACK_ONLY ............. 0x1 IC_10BITADDR_SLAVE ................ 0x0 IC_CLK_TYPE ....................... 0x0 IC_SMBUS_UDID_MSB ................. 0x0 IC_SMBUS_SUSPEND_ALERT ............ 0x0 IC_HS_SCL_HIGH_COUNT .............. 0x0006 IC_SLV_RESTART_DET_EN ............. 0x1 IC_SMBUS .......................... 0x0 IC_OPTIONAL_SAR_DEFAULT ........... 0x0 IC_PERSISTANT_SLV_ADDR_DEFAULT .... 0x0 IC_USE_COUNTS ..................... 0x0 IC_RX_BUFFER_DEPTH ................ 16 IC_SCL_STUCK_TIMEOUT_DEFAULT ...... 0xffffffff IC_RX_FULL_HLD_BUS_EN ............. 0x1 IC_SLAVE_DISABLE .................. 0x1 IC_RX_TL .......................... 0x0 IC_DEVICE_ID ...................... 0x0 IC_HC_COUNT_VALUES ................ 0x0 I2C_DYNAMIC_TAR_UPDATE ............ 0 IC_SMBUS_CLK_LOW_MEXT_DEFAULT ..... 0xffffffff IC_SMBUS_CLK_LOW_SEXT_DEFAULT ..... 0xffffffff IC_HS_MASTER_CODE ................. 0x1 IC_SMBUS_RST_IDLE_CNT_DEFAULT ..... 0xffff IC_SMBUS_UDID_LSB_DEFAULT ......... 0xffffffff IC_SS_SCL_HIGH_COUNT .............. 0x0028 IC_SS_SCL_LOW_COUNT ............... 0x002f IC_MAX_SPEED_MODE ................. 0x2 IC_STAT_FOR_CLK_STRETCH ........... 0x0 IC_STOP_DET_IF_MASTER_ACTIVE ...... 0x0 IC_DEFAULT_UFM_SPKLEN ............. 0x1 IC_TX_BUFFER_DEPTH ................ 16 I2C0 0x40044000 0x0 0x100 registers n I2C0_IRQ 23 IC_ACK_GENERAL_CALL I2C ACK General Call Register The register controls whether DW_apb_i2c responds with a ACK or NACK when it receives an I2C General Call address. This register is applicable only when the DW_apb_i2c is in slave mode. 0x98 32 read-write n 0x1 0x0 ACK_GEN_CALL ACK General Call. When set to 1, DW_apb_i2c responds with a ACK (by asserting ic_data_oe) when it receives a General Call. Otherwise, DW_apb_i2c responds with a NACK (by negating ic_data_oe). 0 1 read-write DISABLED Generate NACK for a General Call 0 ENABLED Generate ACK for a General Call 1 IC_CLR_ACTIVITY Clear ACTIVITY Interrupt Register 0x5C 32 read-write n 0x0 0x0 CLR_ACTIVITY Reading this register clears the ACTIVITY interrupt if the I2C is not active anymore. If the I2C module is still active on the bus, the ACTIVITY interrupt bit continues to be set. It is automatically cleared by hardware if the module is disabled and if there is no further activity on the bus. The value read from this register to get status of the ACTIVITY interrupt (bit 8) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_GEN_CALL Clear GEN_CALL Interrupt Register 0x68 32 read-write n 0x0 0x0 CLR_GEN_CALL Read this register to clear the GEN_CALL interrupt (bit 11) of IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_INTR Clear Combined and Individual Interrupt Register 0x40 32 read-write n 0x0 0x0 CLR_INTR Read this register to clear the combined interrupt, all individual interrupts, and the IC_TX_ABRT_SOURCE register. This bit does not clear hardware clearable interrupts but software clearable interrupts. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE. Reset value: 0x0 0 1 read-only IC_CLR_RD_REQ Clear RD_REQ Interrupt Register 0x50 32 read-write n 0x0 0x0 CLR_RD_REQ Read this register to clear the RD_REQ interrupt (bit 5) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_RESTART_DET Clear RESTART_DET Interrupt Register 0xA8 32 read-write n 0x0 0x0 CLR_RESTART_DET Read this register to clear the RESTART_DET interrupt (bit 12) of IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_RX_DONE Clear RX_DONE Interrupt Register 0x58 32 read-write n 0x0 0x0 CLR_RX_DONE Read this register to clear the RX_DONE interrupt (bit 7) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_RX_OVER Clear RX_OVER Interrupt Register 0x48 32 read-write n 0x0 0x0 CLR_RX_OVER Read this register to clear the RX_OVER interrupt (bit 1) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_RX_UNDER Clear RX_UNDER Interrupt Register 0x44 32 read-write n 0x0 0x0 CLR_RX_UNDER Read this register to clear the RX_UNDER interrupt (bit 0) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_START_DET Clear START_DET Interrupt Register 0x64 32 read-write n 0x0 0x0 CLR_START_DET Read this register to clear the START_DET interrupt (bit 10) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_STOP_DET Clear STOP_DET Interrupt Register 0x60 32 read-write n 0x0 0x0 CLR_STOP_DET Read this register to clear the STOP_DET interrupt (bit 9) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_TX_ABRT Clear TX_ABRT Interrupt Register 0x54 32 read-write n 0x0 0x0 CLR_TX_ABRT Read this register to clear the TX_ABRT interrupt (bit 6) of the IC_RAW_INTR_STAT register, and the IC_TX_ABRT_SOURCE register. This also releases the TX FIFO from the flushed/reset state, allowing more writes to the TX FIFO. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE. Reset value: 0x0 0 1 read-only IC_CLR_TX_OVER Clear TX_OVER Interrupt Register 0x4C 32 read-write n 0x0 0x0 CLR_TX_OVER Read this register to clear the TX_OVER interrupt (bit 3) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_COMP_PARAM_1 Component Parameter Register 1 Note This register is not implemented and therefore reads as 0. If it was implemented it would be a constant read-only register that contains encoded information about the component's parameter settings. Fields shown below are the settings for those parameters 0xF4 32 read-write n 0x0 0x0 ADD_ENCODED_PARAMS Encoded parameters not visible 7 1 read-only APB_DATA_WIDTH APB data bus width is 32 bits 0 2 read-only HAS_DMA DMA handshaking signals are enabled 6 1 read-only HC_COUNT_VALUES Programmable count values for each mode. 4 1 read-only INTR_IO COMBINED Interrupt outputs 5 1 read-only MAX_SPEED_MODE MAX SPEED MODE = FAST MODE 2 2 read-only RX_BUFFER_DEPTH RX Buffer Depth = 16 8 8 read-only TX_BUFFER_DEPTH TX Buffer Depth = 16 16 8 read-only IC_COMP_TYPE I2C Component Type Register 0xFC 32 read-write n 0x44570140 0x0 IC_COMP_TYPE Designware Component Type number = 0x44_57_01_40. This assigned unique hex value is constant and is derived from the two ASCII letters 'DW' followed by a 16-bit unsigned number. 0 32 read-only IC_COMP_VERSION I2C Component Version Register 0xF8 32 read-write n 0x3230312A 0x0 IC_COMP_VERSION 0 32 read-only IC_CON I2C Control Register. This register can be written only when the DW_apb_i2c is disabled, which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. Read/Write Access: - bit 10 is read only. - bit 11 is read only - bit 16 is read only - bit 17 is read only - bits 18 and 19 are read only. 0x0 32 read-write n 0x65 0x0 IC_10BITADDR_MASTER Controls whether the DW_apb_i2c starts its transfers in 7- or 10-bit addressing mode when acting as a master. - 0: 7-bit addressing - 1: 10-bit addressing 4 1 read-write ADDR_7BITS Master 7Bit addressing mode 0 ADDR_10BITS Master 10Bit addressing mode 1 IC_10BITADDR_SLAVE When acting as a slave, this bit controls whether the DW_apb_i2c responds to 7- or 10-bit addresses. - 0: 7-bit addressing. The DW_apb_i2c ignores transactions that involve 10-bit addressing for 7-bit addressing, only the lower 7 bits of the IC_SAR register are compared. - 1: 10-bit addressing. The DW_apb_i2c responds to only 10-bit addressing transfers that match the full 10 bits of the IC_SAR register. 3 1 read-write ADDR_7BITS Slave 7Bit addressing 0 ADDR_10BITS Slave 10Bit addressing 1 IC_RESTART_EN Determines whether RESTART conditions may be sent when acting as a master. Some older slaves do not support handling RESTART conditions however, RESTART conditions are used in several DW_apb_i2c operations. When RESTART is disabled, the master is prohibited from performing the following functions: - Sending a START BYTE - Performing any high-speed mode operation - High-speed mode operation - Performing direction changes in combined format mode - Performing a read operation with a 10-bit address By replacing RESTART condition followed by a STOP and a subsequent START condition, split operations are broken down into multiple DW_apb_i2c transfers. If the above operations are performed, it will result in setting bit 6 (TX_ABRT) of the IC_RAW_INTR_STAT register. Reset value: ENABLED 5 1 read-write DISABLED Master restart disabled 0 ENABLED Master restart enabled 1 IC_SLAVE_DISABLE This bit controls whether I2C has its slave disabled, which means once the presetn signal is applied, then this bit is set and the slave is disabled. If this bit is set (slave is disabled), DW_apb_i2c functions only as a master and does not perform any action that requires a slave. NOTE: Software should ensure that if this bit is written with 0, then bit 0 should also be written with a 0. 6 1 read-write SLAVE_ENABLED Slave mode is enabled 0 SLAVE_DISABLED Slave mode is disabled 1 MASTER_MODE This bit controls whether the DW_apb_i2c master is enabled. NOTE: Software should ensure that if this bit is written with '1' then bit 6 should also be written with a '1'. 0 1 read-write DISABLED Master mode is disabled 0 ENABLED Master mode is enabled 1 RX_FIFO_FULL_HLD_CTRL This bit controls whether DW_apb_i2c should hold the bus when the Rx FIFO is physically full to its RX_BUFFER_DEPTH, as described in the IC_RX_FULL_HLD_BUS_EN parameter. Reset value: 0x0. 9 1 read-write DISABLED Overflow when RX_FIFO is full 0 ENABLED Hold bus when RX_FIFO is full 1 SPEED These bits control at which speed the DW_apb_i2c operates its setting is relevant only if one is operating the DW_apb_i2c in master mode. Hardware protects against illegal values being programmed by software. These bits must be programmed appropriately for slave mode also, as it is used to capture correct value of spike filter as per the speed mode. This register should be programmed only with a value in the range of 1 to IC_MAX_SPEED_MODE otherwise, hardware updates this register with the value of IC_MAX_SPEED_MODE. 1: standard mode (100 kbit/s) 2: fast mode (<=400 kbit/s) or fast mode plus (<=1000Kbit/s) 3: high speed mode (3.4 Mbit/s) Note: This field is not applicable when IC_ULTRA_FAST_MODE=1 1 2 read-write STANDARD Standard Speed mode of operation 1 FAST Fast or Fast Plus mode of operation 2 HIGH High Speed mode of operation 3 STOP_DET_IFADDRESSED In slave mode: - 1'b1: issues the STOP_DET interrupt only when it is addressed. - 1'b0: issues the STOP_DET irrespective of whether it's addressed or not. Reset value: 0x0 NOTE: During a general call address, this slave does not issue the STOP_DET interrupt if STOP_DET_IF_ADDRESSED = 1'b1, even if the slave responds to the general call address by generating ACK. The STOP_DET interrupt is generated only when the transmitted address matches the slave address (SAR). 7 1 read-write DISABLED slave issues STOP_DET intr always 0 ENABLED slave issues STOP_DET intr only if addressed 1 STOP_DET_IF_MASTER_ACTIVE Master issues the STOP_DET interrupt irrespective of whether master is active or not 10 1 read-only TX_EMPTY_CTRL This bit controls the generation of the TX_EMPTY interrupt, as described in the IC_RAW_INTR_STAT register. Reset value: 0x0. 8 1 read-write DISABLED Default behaviour of TX_EMPTY interrupt 0 ENABLED Controlled generation of TX_EMPTY interrupt 1 IC_DATA_CMD I2C Rx/Tx Data Buffer and Command Register this is the register the CPU writes to when filling the TX FIFO and the CPU reads from when retrieving bytes from RX FIFO. The size of the register changes as follows: Write: - 11 bits when IC_EMPTYFIFO_HOLD_MASTER_EN=1 - 9 bits when IC_EMPTYFIFO_HOLD_MASTER_EN=0 Read: - 12 bits when IC_FIRST_DATA_BYTE_STATUS = 1 - 8 bits when IC_FIRST_DATA_BYTE_STATUS = 0 Note: In order for the DW_apb_i2c to continue acknowledging reads, a read command should be written for every byte that is to be received otherwise the DW_apb_i2c will stop acknowledging. 0x10 32 read-write n 0x0 0x0 CMD This bit controls whether a read or a write is performed. This bit does not control the direction when the DW_apb_i2con acts as a slave. It controls only the direction when it acts as a master. When a command is entered in the TX FIFO, this bit distinguishes the write and read commands. In slave-receiver mode, this bit is a 'don't care' because writes to this register are not required. In slave-transmitter mode, a '0' indicates that the data in IC_DATA_CMD is to be transmitted. When programming this bit, you should remember the following: attempting to perform a read operation after a General Call command has been sent results in a TX_ABRT interrupt (bit 6 of the IC_RAW_INTR_STAT register), unless bit 11 (SPECIAL) in the IC_TAR register has been cleared. If a '1' is written to this bit after receiving a RD_REQ interrupt, then a TX_ABRT interrupt occurs. Reset value: 0x0 8 1 read-write clear WRITE Master Write Command 0 READ Master Read Command 1 DAT This register contains the data to be transmitted or received on the I2C bus. If you are writing to this register and want to perform a read, bits 7:0 (DAT) are ignored by the DW_apb_i2c. However, when you read this register, these bits return the value of data received on the DW_apb_i2c interface. Reset value: 0x0 0 8 read-write FIRST_DATA_BYTE Indicates the first data byte received after the address phase for receive transfer in Master receiver or Slave receiver mode. Reset value : 0x0 NOTE: In case of APB_DATA_WIDTH=8, 1. The user has to perform two APB Reads to IC_DATA_CMD in order to get status on 11 bit. 2. In order to read the 11 bit, the user has to perform the first data byte read [7:0] (offset 0x10) and then perform the second read [15:8] (offset 0x11) in order to know the status of 11 bit (whether the data received in previous read is a first data byte or not). 3. The 11th bit is an optional read field, user can ignore 2nd byte read [15:8] (offset 0x11) if not interested in FIRST_DATA_BYTE status. 11 1 read-only INACTIVE Sequential data byte received 0 ACTIVE Non sequential data byte received 1 RESTART This bit controls whether a RESTART is issued before the byte is sent or received. 1 - If IC_RESTART_EN is 1, a RESTART is issued before the data is sent/received (according to the value of CMD), regardless of whether or not the transfer direction is changing from the previous command if IC_RESTART_EN is 0, a STOP followed by a START is issued instead. 0 - If IC_RESTART_EN is 1, a RESTART is issued only if the transfer direction is changing from the previous command if IC_RESTART_EN is 0, a STOP followed by a START is issued instead. Reset value: 0x0 10 1 read-write clear DISABLE Don't Issue RESTART before this command 0 ENABLE Issue RESTART before this command 1 STOP This bit controls whether a STOP is issued after the byte is sent or received. - 1 - STOP is issued after this byte, regardless of whether or not the Tx FIFO is empty. If the Tx FIFO is not empty, the master immediately tries to start a new transfer by issuing a START and arbitrating for the bus. - 0 - STOP is not issued after this byte, regardless of whether or not the Tx FIFO is empty. If the Tx FIFO is not empty, the master continues the current transfer by sending/receiving data bytes according to the value of the CMD bit. If the Tx FIFO is empty, the master holds the SCL line low and stalls the bus until a new command is available in the Tx FIFO. Reset value: 0x0 9 1 read-write clear DISABLE Don't Issue STOP after this command 0 ENABLE Issue STOP after this command 1 IC_DMA_CR DMA Control Register The register is used to enable the DMA Controller interface operation. There is a separate bit for transmit and receive. This can be programmed regardless of the state of IC_ENABLE. 0x88 32 read-write n 0x0 0x0 RDMAE Receive DMA Enable. This bit enables/disables the receive FIFO DMA channel. Reset value: 0x0 0 1 read-write DISABLED Receive FIFO DMA channel disabled 0 ENABLED Receive FIFO DMA channel enabled 1 TDMAE Transmit DMA Enable. This bit enables/disables the transmit FIFO DMA channel. Reset value: 0x0 1 1 read-write DISABLED transmit FIFO DMA channel disabled 0 ENABLED Transmit FIFO DMA channel enabled 1 IC_DMA_RDLR I2C Receive Data Level Register 0x90 32 read-write n 0x0 0x0 DMARDL Receive Data Level. This bit field controls the level at which a DMA request is made by the receive logic. The watermark level = DMARDL+1 that is, dma_rx_req is generated when the number of valid data entries in the receive FIFO is equal to or more than this field value + 1, and RDMAE =1. For instance, when DMARDL is 0, then dma_rx_req is asserted when 1 or more data entries are present in the receive FIFO. Reset value: 0x0 0 4 read-write IC_DMA_TDLR DMA Transmit Data Level Register 0x8C 32 read-write n 0x0 0x0 DMATDL Transmit Data Level. This bit field controls the level at which a DMA request is made by the transmit logic. It is equal to the watermark level that is, the dma_tx_req signal is generated when the number of valid data entries in the transmit FIFO is equal to or below this field value, and TDMAE = 1. Reset value: 0x0 0 4 read-write IC_ENABLE I2C Enable Register 0x6C 32 read-write n 0x0 0x0 ABORT When set, the controller initiates the transfer abort. - 0: ABORT not initiated or ABORT done - 1: ABORT operation in progress The software can abort the I2C transfer in master mode by setting this bit. The software can set this bit only when ENABLE is already set otherwise, the controller ignores any write to ABORT bit. The software cannot clear the ABORT bit once set. In response to an ABORT, the controller issues a STOP and flushes the Tx FIFO after completing the current transfer, then sets the TX_ABORT interrupt after the abort operation. The ABORT bit is cleared automatically after the abort operation. For a detailed description on how to abort I2C transfers, refer to 'Aborting I2C Transfers'. Reset value: 0x0 1 1 read-write DISABLE ABORT operation not in progress 0 ENABLED ABORT operation in progress 1 ENABLE Controls whether the DW_apb_i2c is enabled. - 0: Disables DW_apb_i2c (TX and RX FIFOs are held in an erased state) - 1: Enables DW_apb_i2c Software can disable DW_apb_i2c while it is active. However, it is important that care be taken to ensure that DW_apb_i2c is disabled properly. A recommended procedure is described in 'Disabling DW_apb_i2c'. When DW_apb_i2c is disabled, the following occurs: - The TX FIFO and RX FIFO get flushed. - Status bits in the IC_INTR_STAT register are still active until DW_apb_i2c goes into IDLE state. If the module is transmitting, it stops as well as deletes the contents of the transmit buffer after the current transfer is complete. If the module is receiving, the DW_apb_i2c stops the current transfer at the end of the current byte and does not acknowledge the transfer. In systems with asynchronous pclk and ic_clk when IC_CLK_TYPE parameter set to asynchronous (1), there is a two ic_clk delay when enabling or disabling the DW_apb_i2c. For a detailed description on how to disable DW_apb_i2c, refer to 'Disabling DW_apb_i2c' Reset value: 0x0 0 1 read-write DISABLED I2C is disabled 0 ENABLED I2C is enabled 1 TX_CMD_BLOCK In Master mode: - 1'b1: Blocks the transmission of data on I2C bus even if Tx FIFO has data to transmit. - 1'b0: The transmission of data starts on I2C bus automatically, as soon as the first data is available in the Tx FIFO. Note: To block the execution of Master commands, set the TX_CMD_BLOCK bit only when Tx FIFO is empty (IC_STATUS[2]==1) and Master is in Idle state (IC_STATUS[5] == 0). Any further commands put in the Tx FIFO are not executed until TX_CMD_BLOCK bit is unset. Reset value: IC_TX_CMD_BLOCK_DEFAULT 2 1 read-write NOT_BLOCKED Tx Command execution not blocked 0 BLOCKED Tx Command execution blocked 1 IC_ENABLE_STATUS I2C Enable Status Register The register is used to report the DW_apb_i2c hardware status when the IC_ENABLE[0] register is set from 1 to 0 that is, when DW_apb_i2c is disabled. If IC_ENABLE[0] has been set to 1, bits 2:1 are forced to 0, and bit 0 is forced to 1. If IC_ENABLE[0] has been set to 0, bits 2:1 is only be valid as soon as bit 0 is read as '0'. Note: When IC_ENABLE[0] has been set to 0, a delay occurs for bit 0 to be read as 0 because disabling the DW_apb_i2c depends on I2C bus activities. 0x9C 32 read-write n 0x0 0x0 IC_EN ic_en Status. This bit always reflects the value driven on the output port ic_en. - When read as 1, DW_apb_i2c is deemed to be in an enabled state. - When read as 0, DW_apb_i2c is deemed completely inactive. Note: The CPU can safely read this bit anytime. When this bit is read as 0, the CPU can safely read SLV_RX_DATA_LOST (bit 2) and SLV_DISABLED_WHILE_BUSY (bit 1). Reset value: 0x0 0 1 read-only DISABLED I2C disabled 0 ENABLED I2C enabled 1 SLV_DISABLED_WHILE_BUSY Slave Disabled While Busy (Transmit, Receive). This bit indicates if a potential or active Slave operation has been aborted due to the setting bit 0 of the IC_ENABLE register from 1 to 0. This bit is set when the CPU writes a 0 to the IC_ENABLE register while: (a) DW_apb_i2c is receiving the address byte of the Slave-Transmitter operation from a remote master OR, (b) address and data bytes of the Slave-Receiver operation from a remote master. When read as 1, DW_apb_i2c is deemed to have forced a NACK during any part of an I2C transfer, irrespective of whether the I2C address matches the slave address set in DW_apb_i2c (IC_SAR register) OR if the transfer is completed before IC_ENABLE is set to 0 but has not taken effect. Note: If the remote I2C master terminates the transfer with a STOP condition before the DW_apb_i2c has a chance to NACK a transfer, and IC_ENABLE[0] has been set to 0, then this bit will also be set to 1. When read as 0, DW_apb_i2c is deemed to have been disabled when there is master activity, or when the I2C bus is idle. Note: The CPU can safely read this bit when IC_EN (bit 0) is read as 0. Reset value: 0x0 1 1 read-only INACTIVE Slave is disabled when it is idle 0 ACTIVE Slave is disabled when it is active 1 SLV_RX_DATA_LOST Slave Received Data Lost. This bit indicates if a Slave-Receiver operation has been aborted with at least one data byte received from an I2C transfer due to the setting bit 0 of IC_ENABLE from 1 to 0. When read as 1, DW_apb_i2c is deemed to have been actively engaged in an aborted I2C transfer (with matching address) and the data phase of the I2C transfer has been entered, even though a data byte has been responded with a NACK. Note: If the remote I2C master terminates the transfer with a STOP condition before the DW_apb_i2c has a chance to NACK a transfer, and IC_ENABLE[0] has been set to 0, then this bit is also set to 1. When read as 0, DW_apb_i2c is deemed to have been disabled without being actively involved in the data phase of a Slave-Receiver transfer. Note: The CPU can safely read this bit when IC_EN (bit 0) is read as 0. Reset value: 0x0 2 1 read-only INACTIVE Slave RX Data is not lost 0 ACTIVE Slave RX Data is lost 1 IC_FS_SCL_HCNT Fast Mode or Fast Mode Plus I2C Clock SCL High Count Register 0x1C 32 read-write n 0x6 0x0 IC_FS_SCL_HCNT This register must be set before any I2C bus transaction can take place to ensure proper I/O timing. This register sets the SCL clock high-period count for fast mode or fast mode plus. It is used in high-speed mode to send the Master Code and START BYTE or General CALL. For more information, refer to 'IC_CLK Frequency Configuration'. This register goes away and becomes read-only returning 0s if IC_MAX_SPEED_MODE = standard. This register can be written only when the I2C interface is disabled, which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 6 hardware prevents values less than this being written, and if attempted results in 6 being set. For designs with APB_DATA_WIDTH == 8 the order of programming is important to ensure the correct operation of the DW_apb_i2c. The lower byte must be programmed first. Then the upper byte is programmed. 0 16 read-write IC_FS_SCL_LCNT Fast Mode or Fast Mode Plus I2C Clock SCL Low Count Register 0x20 32 read-write n 0xD 0x0 IC_FS_SCL_LCNT This register must be set before any I2C bus transaction can take place to ensure proper I/O timing. This register sets the SCL clock low period count for fast speed. It is used in high-speed mode to send the Master Code and START BYTE or General CALL. For more information, refer to 'IC_CLK Frequency Configuration'. This register goes away and becomes read-only returning 0s if IC_MAX_SPEED_MODE = standard. This register can be written only when the I2C interface is disabled, which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 8 hardware prevents values less than this being written, and if attempted results in 8 being set. For designs with APB_DATA_WIDTH = 8 the order of programming is important to ensure the correct operation of the DW_apb_i2c. The lower byte must be programmed first. Then the upper byte is programmed. If the value is less than 8 then the count value gets changed to 8. 0 16 read-write IC_FS_SPKLEN I2C SS, FS or FM+ spike suppression limit This register is used to store the duration, measured in ic_clk cycles, of the longest spike that is filtered out by the spike suppression logic when the component is operating in SS, FS or FM+ modes. The relevant I2C requirement is tSP (table 4) as detailed in the I2C Bus Specification. This register must be programmed with a minimum value of 1. 0xA0 32 read-write n 0x7 0x0 IC_FS_SPKLEN This register must be set before any I2C bus transaction can take place to ensure stable operation. This register sets the duration, measured in ic_clk cycles, of the longest spike in the SCL or SDA lines that will be filtered out by the spike suppression logic. This register can be written only when the I2C interface is disabled which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 1 hardware prevents values less than this being written, and if attempted results in 1 being set. or more information, refer to 'Spike Suppression'. 0 8 read-write IC_INTR_MASK I2C Interrupt Mask Register. These bits mask their corresponding interrupt status bits. This register is active low a value of 0 masks the interrupt, whereas a value of 1 unmasks the interrupt. 0x30 32 read-write n 0x8FF 0x0 M_ACTIVITY This bit masks the R_ACTIVITY interrupt in IC_INTR_STAT register. Reset value: 0x0 8 1 read-write ENABLED ACTIVITY interrupt is masked 0 DISABLED ACTIVITY interrupt is unmasked 1 M_GEN_CALL This bit masks the R_GEN_CALL interrupt in IC_INTR_STAT register. Reset value: 0x1 11 1 read-write ENABLED GEN_CALL interrupt is masked 0 DISABLED GEN_CALL interrupt is unmasked 1 M_MASTER_ON_HOLD_READ_ONLY This M_MASTER_ON_HOLD_read_only bit masks the R_MASTER_ON_HOLD interrupt in IC_INTR_STAT register.\n\n Reset value: 0x0 13 14 read-only ENABLED MASTER_ON_HOLD interrupt is masked 0 DISABLED MASTER_ON_HOLD interrupt is unmasked 1 M_RD_REQ This bit masks the R_RD_REQ interrupt in IC_INTR_STAT register. Reset value: 0x1 5 1 read-write ENABLED RD_REQ interrupt is masked 0 DISABLED RD_REQ interrupt is unmasked 1 M_RESTART_DET This bit masks the R_RESTART_DET interrupt in IC_INTR_STAT register. Reset value: 0x0 12 1 read-write ENABLED RESTART_DET interrupt is masked 0 DISABLED RESTART_DET interrupt is unmasked 1 M_RX_DONE This bit masks the R_RX_DONE interrupt in IC_INTR_STAT register. Reset value: 0x1 7 1 read-write ENABLED RX_DONE interrupt is masked 0 DISABLED RX_DONE interrupt is unmasked 1 M_RX_FULL This bit masks the R_RX_FULL interrupt in IC_INTR_STAT register. Reset value: 0x1 2 1 read-write ENABLED RX_FULL interrupt is masked 0 DISABLED RX_FULL interrupt is unmasked 1 M_RX_OVER This bit masks the R_RX_OVER interrupt in IC_INTR_STAT register. Reset value: 0x1 1 1 read-write ENABLED RX_OVER interrupt is masked 0 DISABLED RX_OVER interrupt is unmasked 1 M_RX_UNDER This bit masks the R_RX_UNDER interrupt in IC_INTR_STAT register. Reset value: 0x1 0 1 read-write ENABLED RX_UNDER interrupt is masked 0 DISABLED RX_UNDER interrupt is unmasked 1 M_START_DET This bit masks the R_START_DET interrupt in IC_INTR_STAT register. Reset value: 0x0 10 1 read-write ENABLED START_DET interrupt is masked 0 DISABLED START_DET interrupt is unmasked 1 M_STOP_DET This bit masks the R_STOP_DET interrupt in IC_INTR_STAT register. Reset value: 0x0 9 1 read-write ENABLED STOP_DET interrupt is masked 0 DISABLED STOP_DET interrupt is unmasked 1 M_TX_ABRT This bit masks the R_TX_ABRT interrupt in IC_INTR_STAT register. Reset value: 0x1 6 1 read-write ENABLED TX_ABORT interrupt is masked 0 DISABLED TX_ABORT interrupt is unmasked 1 M_TX_EMPTY This bit masks the R_TX_EMPTY interrupt in IC_INTR_STAT register. Reset value: 0x1 4 1 read-write ENABLED TX_EMPTY interrupt is masked 0 DISABLED TX_EMPTY interrupt is unmasked 1 M_TX_OVER This bit masks the R_TX_OVER interrupt in IC_INTR_STAT register. Reset value: 0x1 3 1 read-write ENABLED TX_OVER interrupt is masked 0 DISABLED TX_OVER interrupt is unmasked 1 IC_INTR_STAT I2C Interrupt Status Register Each bit in this register has a corresponding mask bit in the IC_INTR_MASK register. These bits are cleared by reading the matching interrupt clear register. The unmasked raw versions of these bits are available in the IC_RAW_INTR_STAT register. 0x2C 32 read-write n 0x0 0x0 R_ACTIVITY See IC_RAW_INTR_STAT for a detailed description of R_ACTIVITY bit. Reset value: 0x0 8 1 read-only INACTIVE R_ACTIVITY interrupt is inactive 0 ACTIVE R_ACTIVITY interrupt is active 1 R_GEN_CALL See IC_RAW_INTR_STAT for a detailed description of R_GEN_CALL bit. Reset value: 0x0 11 1 read-only INACTIVE R_GEN_CALL interrupt is inactive 0 ACTIVE R_GEN_CALL interrupt is active 1 R_MASTER_ON_HOLD See IC_RAW_INTR_STAT for a detailed description of R_MASTER_ON_HOLD bit.\n\n Reset value: 0x0 13 14 read-only INACTIVE R_MASTER_ON_HOLD interrupt is inactive 0 ACTIVE R_MASTER_ON_HOLD interrupt is active 1 R_RD_REQ See IC_RAW_INTR_STAT for a detailed description of R_RD_REQ bit. Reset value: 0x0 5 1 read-only INACTIVE R_RD_REQ interrupt is inactive 0 ACTIVE R_RD_REQ interrupt is active 1 R_RESTART_DET See IC_RAW_INTR_STAT for a detailed description of R_RESTART_DET bit. Reset value: 0x0 12 1 read-only INACTIVE R_RESTART_DET interrupt is inactive 0 ACTIVE R_RESTART_DET interrupt is active 1 R_RX_DONE See IC_RAW_INTR_STAT for a detailed description of R_RX_DONE bit. Reset value: 0x0 7 1 read-only INACTIVE R_RX_DONE interrupt is inactive 0 ACTIVE R_RX_DONE interrupt is active 1 R_RX_FULL See IC_RAW_INTR_STAT for a detailed description of R_RX_FULL bit. Reset value: 0x0 2 1 read-only INACTIVE R_RX_FULL interrupt is inactive 0 ACTIVE R_RX_FULL interrupt is active 1 R_RX_OVER See IC_RAW_INTR_STAT for a detailed description of R_RX_OVER bit. Reset value: 0x0 1 1 read-only INACTIVE R_RX_OVER interrupt is inactive 0 ACTIVE R_RX_OVER interrupt is active 1 R_RX_UNDER See IC_RAW_INTR_STAT for a detailed description of R_RX_UNDER bit. Reset value: 0x0 0 1 read-only INACTIVE RX_UNDER interrupt is inactive 0 ACTIVE RX_UNDER interrupt is active 1 R_START_DET See IC_RAW_INTR_STAT for a detailed description of R_START_DET bit. Reset value: 0x0 10 1 read-only INACTIVE R_START_DET interrupt is inactive 0 ACTIVE R_START_DET interrupt is active 1 R_STOP_DET See IC_RAW_INTR_STAT for a detailed description of R_STOP_DET bit. Reset value: 0x0 9 1 read-only INACTIVE R_STOP_DET interrupt is inactive 0 ACTIVE R_STOP_DET interrupt is active 1 R_TX_ABRT See IC_RAW_INTR_STAT for a detailed description of R_TX_ABRT bit. Reset value: 0x0 6 1 read-only INACTIVE R_TX_ABRT interrupt is inactive 0 ACTIVE R_TX_ABRT interrupt is active 1 R_TX_EMPTY See IC_RAW_INTR_STAT for a detailed description of R_TX_EMPTY bit. Reset value: 0x0 4 1 read-only INACTIVE R_TX_EMPTY interrupt is inactive 0 ACTIVE R_TX_EMPTY interrupt is active 1 R_TX_OVER See IC_RAW_INTR_STAT for a detailed description of R_TX_OVER bit. Reset value: 0x0 3 1 read-only INACTIVE R_TX_OVER interrupt is inactive 0 ACTIVE R_TX_OVER interrupt is active 1 IC_RAW_INTR_STAT I2C Raw Interrupt Status Register Unlike the IC_INTR_STAT register, these bits are not masked so they always show the true status of the DW_apb_i2c. 0x34 32 read-write n 0x0 0x0 ACTIVITY This bit captures DW_apb_i2c activity and stays set until it is cleared. There are four ways to clear it: - Disabling the DW_apb_i2c - Reading the IC_CLR_ACTIVITY register - Reading the IC_CLR_INTR register - System reset Once this bit is set, it stays set unless one of the four methods is used to clear it. Even if the DW_apb_i2c module is idle, this bit remains set until cleared, indicating that there was activity on the bus. Reset value: 0x0 8 1 read-only INACTIVE RAW_INTR_ACTIVITY interrupt is inactive 0 ACTIVE RAW_INTR_ACTIVITY interrupt is active 1 GEN_CALL Set only when a General Call address is received and it is acknowledged. It stays set until it is cleared either by disabling DW_apb_i2c or when the CPU reads bit 0 of the IC_CLR_GEN_CALL register. DW_apb_i2c stores the received data in the Rx buffer. Reset value: 0x0 11 1 read-only INACTIVE GEN_CALL interrupt is inactive 0 ACTIVE GEN_CALL interrupt is active 1 MASTER_ON_HOLD Indicates whether master is holding the bus and TX FIFO is empty. Enabled only when I2C_DYNAMIC_TAR_UPDATE=1 and IC_EMPTYFIFO_HOLD_MASTER_EN=1.\n\n Reset value: 0x0 13 14 read-only INACTIVE MASTER_ON_HOLD interrupt is inactive 0 ACTIVE MASTER_ON_HOLD interrupt is active 1 RD_REQ This bit is set to 1 when DW_apb_i2c is acting as a slave and another I2C master is attempting to read data from DW_apb_i2c. The DW_apb_i2c holds the I2C bus in a wait state (SCL=0) until this interrupt is serviced, which means that the slave has been addressed by a remote master that is asking for data to be transferred. The processor must respond to this interrupt and then write the requested data to the IC_DATA_CMD register. This bit is set to 0 just after the processor reads the IC_CLR_RD_REQ register. Reset value: 0x0 5 1 read-only INACTIVE RD_REQ interrupt is inactive 0 ACTIVE RD_REQ interrupt is active 1 RESTART_DET Indicates whether a RESTART condition has occurred on the I2C interface when DW_apb_i2c is operating in Slave mode and the slave is being addressed. Enabled only when IC_SLV_RESTART_DET_EN=1. Note: However, in high-speed mode or during a START BYTE transfer, the RESTART comes before the address field as per the I2C protocol. In this case, the slave is not the addressed slave when the RESTART is issued, therefore DW_apb_i2c does not generate the RESTART_DET interrupt. Reset value: 0x0 12 1 read-only INACTIVE RESTART_DET interrupt is inactive 0 ACTIVE RESTART_DET interrupt is active 1 RX_DONE When the DW_apb_i2c is acting as a slave-transmitter, this bit is set to 1 if the master does not acknowledge a transmitted byte. This occurs on the last byte of the transmission, indicating that the transmission is done. Reset value: 0x0 7 1 read-only INACTIVE RX_DONE interrupt is inactive 0 ACTIVE RX_DONE interrupt is active 1 RX_FULL Set when the receive buffer reaches or goes above the RX_TL threshold in the IC_RX_TL register. It is automatically cleared by hardware when buffer level goes below the threshold. If the module is disabled (IC_ENABLE[0]=0), the RX FIFO is flushed and held in reset therefore the RX FIFO is not full. So this bit is cleared once the IC_ENABLE bit 0 is programmed with a 0, regardless of the activity that continues. Reset value: 0x0 2 1 read-only INACTIVE RX_FULL interrupt is inactive 0 ACTIVE RX_FULL interrupt is active 1 RX_OVER Set if the receive buffer is completely filled to IC_RX_BUFFER_DEPTH and an additional byte is received from an external I2C device. The DW_apb_i2c acknowledges this, but any data bytes received after the FIFO is full are lost. If the module is disabled (IC_ENABLE[0]=0), this bit keeps its level until the master or slave state machines go into idle, and when ic_en goes to 0, this interrupt is cleared. Note: If bit 9 of the IC_CON register (RX_FIFO_FULL_HLD_CTRL) is programmed to HIGH, then the RX_OVER interrupt never occurs, because the Rx FIFO never overflows. Reset value: 0x0 1 1 read-only INACTIVE RX_OVER interrupt is inactive 0 ACTIVE RX_OVER interrupt is active 1 RX_UNDER Set if the processor attempts to read the receive buffer when it is empty by reading from the IC_DATA_CMD register. If the module is disabled (IC_ENABLE[0]=0), this bit keeps its level until the master or slave state machines go into idle, and when ic_en goes to 0, this interrupt is cleared. Reset value: 0x0 0 1 read-only INACTIVE RX_UNDER interrupt is inactive 0 ACTIVE RX_UNDER interrupt is active 1 START_DET Indicates whether a START or RESTART condition has occurred on the I2C interface regardless of whether DW_apb_i2c is operating in slave or master mode. Reset value: 0x0 10 1 read-only INACTIVE START_DET interrupt is inactive 0 ACTIVE START_DET interrupt is active 1 STOP_DET Indicates whether a STOP condition has occurred on the I2C interface regardless of whether DW_apb_i2c is operating in slave or master mode. In Slave Mode: - If IC_CON[7]=1'b1 (STOP_DET_IFADDRESSED), the STOP_DET interrupt will be issued only if slave is addressed. Note: During a general call address, this slave does not issue a STOP_DET interrupt if STOP_DET_IF_ADDRESSED=1'b1, even if the slave responds to the general call address by generating ACK. The STOP_DET interrupt is generated only when the transmitted address matches the slave address (SAR). - If IC_CON[7]=1'b0 (STOP_DET_IFADDRESSED), the STOP_DET interrupt is issued irrespective of whether it is being addressed. In Master Mode: - If IC_CON[10]=1'b1 (STOP_DET_IF_MASTER_ACTIVE),the STOP_DET interrupt will be issued only if Master is active. - If IC_CON[10]=1'b0 (STOP_DET_IFADDRESSED),the STOP_DET interrupt will be issued irrespective of whether master is active or not. Reset value: 0x0 9 1 read-only INACTIVE STOP_DET interrupt is inactive 0 ACTIVE STOP_DET interrupt is active 1 TX_ABRT This bit indicates if DW_apb_i2c, as an I2C transmitter, is unable to complete the intended actions on the contents of the transmit FIFO. This situation can occur both as an I2C master or an I2C slave, and is referred to as a 'transmit abort'. When this bit is set to 1, the IC_TX_ABRT_SOURCE register indicates the reason why the transmit abort takes places. Note: The DW_apb_i2c flushes/resets/empties the TX_FIFO and RX_FIFO whenever there is a transmit abort caused by any of the events tracked by the IC_TX_ABRT_SOURCE register. The FIFOs remains in this flushed state until the register IC_CLR_TX_ABRT is read. Once this read is performed, the Tx FIFO is then ready to accept more data bytes from the APB interface. Reset value: 0x0 6 1 read-only INACTIVE TX_ABRT interrupt is inactive 0 ACTIVE TX_ABRT interrupt is active 1 TX_EMPTY The behavior of the TX_EMPTY interrupt status differs based on the TX_EMPTY_CTRL selection in the IC_CON register. - When TX_EMPTY_CTRL = 0: This bit is set to 1 when the transmit buffer is at or below the threshold value set in the IC_TX_TL register. - When TX_EMPTY_CTRL = 1: This bit is set to 1 when the transmit buffer is at or below the threshold value set in the IC_TX_TL register and the transmission of the address/data from the internal shift register for the most recently popped command is completed. It is automatically cleared by hardware when the buffer level goes above the threshold. When IC_ENABLE[0] is set to 0, the TX FIFO is flushed and held in reset. There the TX FIFO looks like it has no data within it, so this bit is set to 1, provided there is activity in the master or slave state machines. When there is no longer any activity, then with ic_en=0, this bit is set to 0. Reset value: 0x0. 4 1 read-only INACTIVE TX_EMPTY interrupt is inactive 0 ACTIVE TX_EMPTY interrupt is active 1 TX_OVER Set during transmit if the transmit buffer is filled to IC_TX_BUFFER_DEPTH and the processor attempts to issue another I2C command by writing to the IC_DATA_CMD register. When the module is disabled, this bit keeps its level until the master or slave state machines go into idle, and when ic_en goes to 0, this interrupt is cleared. Reset value: 0x0 3 1 read-only INACTIVE TX_OVER interrupt is inactive 0 ACTIVE TX_OVER interrupt is active 1 IC_RXFLR I2C Receive FIFO Level Register This register contains the number of valid data entries in the receive FIFO buffer. It is cleared whenever: - The I2C is disabled - Whenever there is a transmit abort caused by any of the events tracked in IC_TX_ABRT_SOURCE The register increments whenever data is placed into the receive FIFO and decrements when data is taken from the receive FIFO. 0x78 32 read-write n 0x0 0x0 RXFLR Receive FIFO Level. Contains the number of valid data entries in the receive FIFO. Reset value: 0x0 0 5 read-only IC_RX_TL I2C Receive FIFO Threshold Register 0x38 32 read-write n 0x0 0x0 RX_TL Receive FIFO Threshold Level. Controls the level of entries (or above) that triggers the RX_FULL interrupt (bit 2 in IC_RAW_INTR_STAT register). The valid range is 0-255, with the additional restriction that hardware does not allow this value to be set to a value larger than the depth of the buffer. If an attempt is made to do that, the actual value set will be the maximum depth of the buffer. A value of 0 sets the threshold for 1 entry, and a value of 255 sets the threshold for 256 entries. 0 8 read-write IC_SAR I2C Slave Address Register 0x8 32 read-write n 0x55 0x0 IC_SAR The IC_SAR holds the slave address when the I2C is operating as a slave. For 7-bit addressing, only IC_SAR[6:0] is used. This register can be written only when the I2C interface is disabled, which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. Note: The default values cannot be any of the reserved address locations: that is, 0x00 to 0x07, or 0x78 to 0x7f. The correct operation of the device is not guaranteed if you program the IC_SAR or IC_TAR to a reserved value. Refer to <<table_I2C_firstbyte_bit_defs>> for a complete list of these reserved values. 0 10 read-write IC_SDA_HOLD I2C SDA Hold Time Length Register The bits [15:0] of this register are used to control the hold time of SDA during transmit in both slave and master mode (after SCL goes from HIGH to LOW). The bits [23:16] of this register are used to extend the SDA transition (if any) whenever SCL is HIGH in the receiver in either master or slave mode. Writes to this register succeed only when IC_ENABLE[0]=0. The values in this register are in units of ic_clk period. The value programmed in IC_SDA_TX_HOLD must be greater than the minimum hold time in each mode (one cycle in master mode, seven cycles in slave mode) for the value to be implemented. The programmed SDA hold time during transmit (IC_SDA_TX_HOLD) cannot exceed at any time the duration of the low part of scl. Therefore the programmed value cannot be larger than N_SCL_LOW-2, where N_SCL_LOW is the duration of the low part of the scl period measured in ic_clk cycles. 0x7C 32 read-write n 0x1 0x0 IC_SDA_RX_HOLD Sets the required SDA hold time in units of ic_clk period, when DW_apb_i2c acts as a receiver. Reset value: IC_DEFAULT_SDA_HOLD[23:16]. 16 8 read-write IC_SDA_TX_HOLD Sets the required SDA hold time in units of ic_clk period, when DW_apb_i2c acts as a transmitter. Reset value: IC_DEFAULT_SDA_HOLD[15:0]. 0 16 read-write IC_SDA_SETUP I2C SDA Setup Register This register controls the amount of time delay (in terms of number of ic_clk clock periods) introduced in the rising edge of SCL - relative to SDA changing - when DW_apb_i2c services a read request in a slave-transmitter operation. The relevant I2C requirement is tSU:DAT (note 4) as detailed in the I2C Bus Specification. This register must be programmed with a value equal to or greater than 2. Writes to this register succeed only when IC_ENABLE[0] = 0. Note: The length of setup time is calculated using [(IC_SDA_SETUP - 1) * (ic_clk_period)], so if the user requires 10 ic_clk periods of setup time, they should program a value of 11. The IC_SDA_SETUP register is only used by the DW_apb_i2c when operating as a slave transmitter. 0x94 32 read-write n 0x64 0x0 SDA_SETUP SDA Setup. It is recommended that if the required delay is 1000ns, then for an ic_clk frequency of 10 MHz, IC_SDA_SETUP should be programmed to a value of 11. IC_SDA_SETUP must be programmed with a minimum value of 2. 0 8 read-write IC_SLV_DATA_NACK_ONLY Generate Slave Data NACK Register The register is used to generate a NACK for the data part of a transfer when DW_apb_i2c is acting as a slave-receiver. This register only exists when the IC_SLV_DATA_NACK_ONLY parameter is set to 1. When this parameter disabled, this register does not exist and writing to the register's address has no effect. A write can occur on this register if both of the following conditions are met: - DW_apb_i2c is disabled (IC_ENABLE[0] = 0) - Slave part is inactive (IC_STATUS[6] = 0) Note: The IC_STATUS[6] is a register read-back location for the internal slv_activity signal the user should poll this before writing the ic_slv_data_nack_only bit. 0x84 32 read-write n 0x0 0x0 NACK Generate NACK. This NACK generation only occurs when DW_apb_i2c is a slave-receiver. If this register is set to a value of 1, it can only generate a NACK after a data byte is received hence, the data transfer is aborted and the data received is not pushed to the receive buffer. When the register is set to a value of 0, it generates NACK/ACK, depending on normal criteria. - 1: generate NACK after data byte received - 0: generate NACK/ACK normally Reset value: 0x0 0 1 read-write DISABLED Slave receiver generates NACK normally 0 ENABLED Slave receiver generates NACK upon data reception only 1 IC_SS_SCL_HCNT Standard Speed I2C Clock SCL High Count Register 0x14 32 read-write n 0x28 0x0 IC_SS_SCL_HCNT This register must be set before any I2C bus transaction can take place to ensure proper I/O timing. This register sets the SCL clock high-period count for standard speed. For more information, refer to 'IC_CLK Frequency Configuration'. This register can be written only when the I2C interface is disabled which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 6 hardware prevents values less than this being written, and if attempted results in 6 being set. For designs with APB_DATA_WIDTH = 8, the order of programming is important to ensure the correct operation of the DW_apb_i2c. The lower byte must be programmed first. Then the upper byte is programmed. NOTE: This register must not be programmed to a value higher than 65525, because DW_apb_i2c uses a 16-bit counter to flag an I2C bus idle condition when this counter reaches a value of IC_SS_SCL_HCNT + 10. 0 16 read-write IC_SS_SCL_LCNT Standard Speed I2C Clock SCL Low Count Register 0x18 32 read-write n 0x2F 0x0 IC_SS_SCL_LCNT This register must be set before any I2C bus transaction can take place to ensure proper I/O timing. This register sets the SCL clock low period count for standard speed. For more information, refer to 'IC_CLK Frequency Configuration' This register can be written only when the I2C interface is disabled which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 8 hardware prevents values less than this being written, and if attempted, results in 8 being set. For designs with APB_DATA_WIDTH = 8, the order of programming is important to ensure the correct operation of DW_apb_i2c. The lower byte must be programmed first, and then the upper byte is programmed. 0 16 read-write IC_STATUS I2C Status Register This is a read-only register used to indicate the current transfer status and FIFO status. The status register may be read at any time. None of the bits in this register request an interrupt. When the I2C is disabled by writing 0 in bit 0 of the IC_ENABLE register: - Bits 1 and 2 are set to 1 - Bits 3 and 10 are set to 0 When the master or slave state machines goes to idle and ic_en=0: - Bits 5 and 6 are set to 0 0x70 32 read-write n 0x6 0x0 ACTIVITY I2C Activity Status. Reset value: 0x0 0 1 read-only INACTIVE I2C is idle 0 ACTIVE I2C is active 1 MST_ACTIVITY Master FSM Activity Status. When the Master Finite State Machine (FSM) is not in the IDLE state, this bit is set. - 0: Master FSM is in IDLE state so the Master part of DW_apb_i2c is not Active - 1: Master FSM is not in IDLE state so the Master part of DW_apb_i2c is Active Note: IC_STATUS[0]-that is, ACTIVITY bit-is the OR of SLV_ACTIVITY and MST_ACTIVITY bits. Reset value: 0x0 5 1 read-only IDLE Master is idle 0 ACTIVE Master not idle 1 RFF Receive FIFO Completely Full. When the receive FIFO is completely full, this bit is set. When the receive FIFO contains one or more empty location, this bit is cleared. - 0: Receive FIFO is not full - 1: Receive FIFO is full Reset value: 0x0 4 1 read-only NOT_FULL Rx FIFO not full 0 FULL Rx FIFO is full 1 RFNE Receive FIFO Not Empty. This bit is set when the receive FIFO contains one or more entries it is cleared when the receive FIFO is empty. - 0: Receive FIFO is empty - 1: Receive FIFO is not empty Reset value: 0x0 3 1 read-only EMPTY Rx FIFO is empty 0 NOT_EMPTY Rx FIFO not empty 1 SLV_ACTIVITY Slave FSM Activity Status. When the Slave Finite State Machine (FSM) is not in the IDLE state, this bit is set. - 0: Slave FSM is in IDLE state so the Slave part of DW_apb_i2c is not Active - 1: Slave FSM is not in IDLE state so the Slave part of DW_apb_i2c is Active Reset value: 0x0 6 1 read-only IDLE Slave is idle 0 ACTIVE Slave not idle 1 TFE Transmit FIFO Completely Empty. When the transmit FIFO is completely empty, this bit is set. When it contains one or more valid entries, this bit is cleared. This bit field does not request an interrupt. - 0: Transmit FIFO is not empty - 1: Transmit FIFO is empty Reset value: 0x1 2 1 read-only NON_EMPTY Tx FIFO not empty 0 EMPTY Tx FIFO is empty 1 TFNF Transmit FIFO Not Full. Set when the transmit FIFO contains one or more empty locations, and is cleared when the FIFO is full. - 0: Transmit FIFO is full - 1: Transmit FIFO is not full Reset value: 0x1 1 1 read-only FULL Tx FIFO is full 0 NOT_FULL Tx FIFO not full 1 IC_TAR I2C Target Address Register This register is 12 bits wide, and bits 31:12 are reserved. This register can be written to only when IC_ENABLE[0] is set to 0. Note: If the software or application is aware that the DW_apb_i2c is not using the TAR address for the pending commands in the Tx FIFO, then it is possible to update the TAR address even while the Tx FIFO has entries (IC_STATUS[2]= 0). - It is not necessary to perform any write to this register if DW_apb_i2c is enabled as an I2C slave only. 0x4 32 read-write n 0x55 0x0 GC_OR_START If bit 11 (SPECIAL) is set to 1 and bit 13(Device-ID) is set to 0, then this bit indicates whether a General Call or START byte command is to be performed by the DW_apb_i2c. - 0: General Call Address - after issuing a General Call, only writes may be performed. Attempting to issue a read command results in setting bit 6 (TX_ABRT) of the IC_RAW_INTR_STAT register. The DW_apb_i2c remains in General Call mode until the SPECIAL bit value (bit 11) is cleared. - 1: START BYTE Reset value: 0x0 10 1 read-write GENERAL_CALL GENERAL_CALL byte transmission 0 START_BYTE START byte transmission 1 IC_TAR This is the target address for any master transaction. When transmitting a General Call, these bits are ignored. To generate a START BYTE, the CPU needs to write only once into these bits. If the IC_TAR and IC_SAR are the same, loopback exists but the FIFOs are shared between master and slave, so full loopback is not feasible. Only one direction loopback mode is supported (simplex), not duplex. A master cannot transmit to itself it can transmit to only a slave. 0 10 read-write SPECIAL This bit indicates whether software performs a Device-ID or General Call or START BYTE command. - 0: ignore bit 10 GC_OR_START and use IC_TAR normally - 1: perform special I2C command as specified in Device_ID or GC_OR_START bit Reset value: 0x0 11 1 read-write DISABLED Disables programming of GENERAL_CALL or START_BYTE transmission 0 ENABLED Enables programming of GENERAL_CALL or START_BYTE transmission 1 IC_TXFLR I2C Transmit FIFO Level Register This register contains the number of valid data entries in the transmit FIFO buffer. It is cleared whenever: - The I2C is disabled - There is a transmit abort - that is, TX_ABRT bit is set in the IC_RAW_INTR_STAT register - The slave bulk transmit mode is aborted The register increments whenever data is placed into the transmit FIFO and decrements when data is taken from the transmit FIFO. 0x74 32 read-write n 0x0 0x0 TXFLR Transmit FIFO Level. Contains the number of valid data entries in the transmit FIFO. Reset value: 0x0 0 5 read-only IC_TX_ABRT_SOURCE I2C Transmit Abort Source Register This register has 32 bits that indicate the source of the TX_ABRT bit. Except for Bit 9, this register is cleared whenever the IC_CLR_TX_ABRT register or the IC_CLR_INTR register is read. To clear Bit 9, the source of the ABRT_SBYTE_NORSTRT must be fixed first RESTART must be enabled (IC_CON[5]=1), the SPECIAL bit must be cleared (IC_TAR[11]), or the GC_OR_START bit must be cleared (IC_TAR[10]). Once the source of the ABRT_SBYTE_NORSTRT is fixed, then this bit can be cleared in the same manner as other bits in this register. If the source of the ABRT_SBYTE_NORSTRT is not fixed before attempting to clear this bit, Bit 9 clears for one cycle and is then re-asserted. 0x80 32 read-write n 0x0 0x0 ABRT_10ADDR1_NOACK This field indicates that the Master is in 10-bit address mode and the first 10-bit address byte was not acknowledged by any slave. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 1 1 read-only INACTIVE This abort is not generated 0 ACTIVE Byte 1 of 10Bit Address not ACKed by any slave 1 ABRT_10ADDR2_NOACK This field indicates that the Master is in 10-bit address mode and that the second address byte of the 10-bit address was not acknowledged by any slave. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 2 1 read-only INACTIVE This abort is not generated 0 ACTIVE Byte 2 of 10Bit Address not ACKed by any slave 1 ABRT_10B_RD_NORSTRT This field indicates that the restart is disabled (IC_RESTART_EN bit (IC_CON[5]) =0) and the master sends a read command in 10-bit addressing mode. Reset value: 0x0 Role of DW_apb_i2c: Master-Receiver 10 1 read-only ABRT_10B_RD_VOID Master not trying to read in 10Bit addressing mode when RESTART disabled 0 ABRT_10B_RD_GENERATED Master trying to read in 10Bit addressing mode when RESTART disabled 1 ABRT_7B_ADDR_NOACK This field indicates that the Master is in 7-bit addressing mode and the address sent was not acknowledged by any slave. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 0 1 read-only INACTIVE This abort is not generated 0 ACTIVE This abort is generated because of NOACK for 7-bit address 1 ABRT_GCALL_NOACK This field indicates that DW_apb_i2c in master mode has sent a General Call and no slave on the bus acknowledged the General Call. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter 4 1 read-only ABRT_GCALL_NOACK_VOID GCALL not ACKed by any slave-scenario not present 0 ABRT_GCALL_NOACK_GENERATED GCALL not ACKed by any slave 1 ABRT_GCALL_READ This field indicates that DW_apb_i2c in the master mode has sent a General Call but the user programmed the byte following the General Call to be a read from the bus (IC_DATA_CMD[9] is set to 1). Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter 5 1 read-only ABRT_GCALL_READ_VOID GCALL is followed by read from bus-scenario not present 0 ABRT_GCALL_READ_GENERATED GCALL is followed by read from bus 1 ABRT_HS_ACKDET This field indicates that the Master is in High Speed mode and the High Speed Master code was acknowledged (wrong behavior). Reset value: 0x0 Role of DW_apb_i2c: Master 6 1 read-only ABRT_HS_ACK_VOID HS Master code ACKed in HS Mode- scenario not present 0 ABRT_HS_ACK_GENERATED HS Master code ACKed in HS Mode 1 ABRT_HS_NORSTRT This field indicates that the restart is disabled (IC_RESTART_EN bit (IC_CON[5]) =0) and the user is trying to use the master to transfer data in High Speed mode. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 8 1 read-only ABRT_HS_NORSTRT_VOID User trying to switch Master to HS mode when RESTART disabled- scenario not present 0 ABRT_HS_NORSTRT_GENERATED User trying to switch Master to HS mode when RESTART disabled 1 ABRT_MASTER_DIS This field indicates that the User tries to initiate a Master operation with the Master mode disabled. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 11 1 read-only ABRT_MASTER_DIS_VOID User initiating master operation when MASTER disabled- scenario not present 0 ABRT_MASTER_DIS_GENERATED User initiating master operation when MASTER disabled 1 ABRT_SBYTE_ACKDET This field indicates that the Master has sent a START Byte and the START Byte was acknowledged (wrong behavior). Reset value: 0x0 Role of DW_apb_i2c: Master 7 1 read-only ABRT_SBYTE_ACKDET_VOID ACK detected for START byte- scenario not present 0 ABRT_SBYTE_ACKDET_GENERATED ACK detected for START byte 1 ABRT_SBYTE_NORSTRT To clear Bit 9, the source of the ABRT_SBYTE_NORSTRT must be fixed first restart must be enabled (IC_CON[5]=1), the SPECIAL bit must be cleared (IC_TAR[11]), or the GC_OR_START bit must be cleared (IC_TAR[10]). Once the source of the ABRT_SBYTE_NORSTRT is fixed, then this bit can be cleared in the same manner as other bits in this register. If the source of the ABRT_SBYTE_NORSTRT is not fixed before attempting to clear this bit, bit 9 clears for one cycle and then gets reasserted. When this field is set to 1, the restart is disabled (IC_RESTART_EN bit (IC_CON[5]) =0) and the user is trying to send a START Byte. Reset value: 0x0 Role of DW_apb_i2c: Master 9 1 read-only ABRT_SBYTE_NORSTRT_VOID User trying to send START byte when RESTART disabled- scenario not present 0 ABRT_SBYTE_NORSTRT_GENERATED User trying to send START byte when RESTART disabled 1 ABRT_SLVFLUSH_TXFIFO This field specifies that the Slave has received a read command and some data exists in the TX FIFO, so the slave issues a TX_ABRT interrupt to flush old data in TX FIFO. Reset value: 0x0 Role of DW_apb_i2c: Slave-Transmitter 13 1 read-only ABRT_SLVFLUSH_TXFIFO_VOID Slave flushes existing data in TX-FIFO upon getting read command- scenario not present 0 ABRT_SLVFLUSH_TXFIFO_GENERATED Slave flushes existing data in TX-FIFO upon getting read command 1 ABRT_SLVRD_INTX 1: When the processor side responds to a slave mode request for data to be transmitted to a remote master and user writes a 1 in CMD (bit 8) of IC_DATA_CMD register. Reset value: 0x0 Role of DW_apb_i2c: Slave-Transmitter 15 1 read-only ABRT_SLVRD_INTX_VOID Slave trying to transmit to remote master in read mode- scenario not present 0 ABRT_SLVRD_INTX_GENERATED Slave trying to transmit to remote master in read mode 1 ABRT_SLV_ARBLOST This field indicates that a Slave has lost the bus while transmitting data to a remote master. IC_TX_ABRT_SOURCE[12] is set at the same time. Note: Even though the slave never 'owns' the bus, something could go wrong on the bus. This is a fail safe check. For instance, during a data transmission at the low-to-high transition of SCL, if what is on the data bus is not what is supposed to be transmitted, then DW_apb_i2c no longer own the bus. Reset value: 0x0 Role of DW_apb_i2c: Slave-Transmitter 14 1 read-only ABRT_SLV_ARBLOST_VOID Slave lost arbitration to remote master- scenario not present 0 ABRT_SLV_ARBLOST_GENERATED Slave lost arbitration to remote master 1 ABRT_TXDATA_NOACK This field indicates the master-mode only bit. When the master receives an acknowledgement for the address, but when it sends data byte(s) following the address, it did not receive an acknowledge from the remote slave(s). Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter 3 1 read-only ABRT_TXDATA_NOACK_VOID Transmitted data non-ACKed by addressed slave-scenario not present 0 ABRT_TXDATA_NOACK_GENERATED Transmitted data not ACKed by addressed slave 1 ABRT_USER_ABRT This is a master-mode-only bit. Master has detected the transfer abort (IC_ENABLE[1]) Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter 16 1 read-only ABRT_USER_ABRT_VOID Transfer abort detected by master- scenario not present 0 ABRT_USER_ABRT_GENERATED Transfer abort detected by master 1 ARB_LOST This field specifies that the Master has lost arbitration, or if IC_TX_ABRT_SOURCE[14] is also set, then the slave transmitter has lost arbitration. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Slave-Transmitter 12 1 read-only ABRT_LOST_VOID Master or Slave-Transmitter lost arbitration- scenario not present 0 ABRT_LOST_GENERATED Master or Slave-Transmitter lost arbitration 1 TX_FLUSH_CNT This field indicates the number of Tx FIFO Data Commands which are flushed due to TX_ABRT interrupt. It is cleared whenever I2C is disabled. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Slave-Transmitter 23 9 read-only IC_TX_TL I2C Transmit FIFO Threshold Register 0x3C 32 read-write n 0x0 0x0 TX_TL Transmit FIFO Threshold Level. Controls the level of entries (or below) that trigger the TX_EMPTY interrupt (bit 4 in IC_RAW_INTR_STAT register). The valid range is 0-255, with the additional restriction that it may not be set to value larger than the depth of the buffer. If an attempt is made to do that, the actual value set will be the maximum depth of the buffer. A value of 0 sets the threshold for 0 entries, and a value of 255 sets the threshold for 255 entries. 0 8 read-write I2C1 DW_apb_i2c address block List of configuration constants for the Synopsys I2C hardware (you may see references to these in I2C register header these are *fixed* values, set at hardware design time): IC_ULTRA_FAST_MODE ................ 0x0 IC_UFM_TBUF_CNT_DEFAULT ........... 0x8 IC_UFM_SCL_LOW_COUNT .............. 0x0008 IC_UFM_SCL_HIGH_COUNT ............. 0x0006 IC_TX_TL .......................... 0x0 IC_TX_CMD_BLOCK ................... 0x1 IC_HAS_DMA ........................ 0x1 IC_HAS_ASYNC_FIFO ................. 0x0 IC_SMBUS_ARP ...................... 0x0 IC_FIRST_DATA_BYTE_STATUS ......... 0x1 IC_INTR_IO ........................ 0x1 IC_MASTER_MODE .................... 0x1 IC_DEFAULT_ACK_GENERAL_CALL ....... 0x1 IC_INTR_POL ....................... 0x1 IC_OPTIONAL_SAR ................... 0x0 IC_DEFAULT_TAR_SLAVE_ADDR ......... 0x055 IC_DEFAULT_SLAVE_ADDR ............. 0x055 IC_DEFAULT_HS_SPKLEN .............. 0x1 IC_FS_SCL_HIGH_COUNT .............. 0x0006 IC_HS_SCL_LOW_COUNT ............... 0x0008 IC_DEVICE_ID_VALUE ................ 0x0 IC_10BITADDR_MASTER ............... 0x0 IC_CLK_FREQ_OPTIMIZATION .......... 0x0 IC_DEFAULT_FS_SPKLEN .............. 0x7 IC_ADD_ENCODED_PARAMS ............. 0x0 IC_DEFAULT_SDA_HOLD ............... 0x000001 IC_DEFAULT_SDA_SETUP .............. 0x64 IC_AVOID_RX_FIFO_FLUSH_ON_TX_ABRT . 0x0 IC_CLOCK_PERIOD ................... 100 IC_EMPTYFIFO_HOLD_MASTER_EN ....... 1 IC_RESTART_EN ..................... 0x1 IC_TX_CMD_BLOCK_DEFAULT ........... 0x0 IC_BUS_CLEAR_FEATURE .............. 0x0 IC_CAP_LOADING .................... 100 IC_FS_SCL_LOW_COUNT ............... 0x000d APB_DATA_WIDTH .................... 32 IC_SDA_STUCK_TIMEOUT_DEFAULT ...... 0xffffffff IC_SLV_DATA_NACK_ONLY ............. 0x1 IC_10BITADDR_SLAVE ................ 0x0 IC_CLK_TYPE ....................... 0x0 IC_SMBUS_UDID_MSB ................. 0x0 IC_SMBUS_SUSPEND_ALERT ............ 0x0 IC_HS_SCL_HIGH_COUNT .............. 0x0006 IC_SLV_RESTART_DET_EN ............. 0x1 IC_SMBUS .......................... 0x0 IC_OPTIONAL_SAR_DEFAULT ........... 0x0 IC_PERSISTANT_SLV_ADDR_DEFAULT .... 0x0 IC_USE_COUNTS ..................... 0x0 IC_RX_BUFFER_DEPTH ................ 16 IC_SCL_STUCK_TIMEOUT_DEFAULT ...... 0xffffffff IC_RX_FULL_HLD_BUS_EN ............. 0x1 IC_SLAVE_DISABLE .................. 0x1 IC_RX_TL .......................... 0x0 IC_DEVICE_ID ...................... 0x0 IC_HC_COUNT_VALUES ................ 0x0 I2C_DYNAMIC_TAR_UPDATE ............ 0 IC_SMBUS_CLK_LOW_MEXT_DEFAULT ..... 0xffffffff IC_SMBUS_CLK_LOW_SEXT_DEFAULT ..... 0xffffffff IC_HS_MASTER_CODE ................. 0x1 IC_SMBUS_RST_IDLE_CNT_DEFAULT ..... 0xffff IC_SMBUS_UDID_LSB_DEFAULT ......... 0xffffffff IC_SS_SCL_HIGH_COUNT .............. 0x0028 IC_SS_SCL_LOW_COUNT ............... 0x002f IC_MAX_SPEED_MODE ................. 0x2 IC_STAT_FOR_CLK_STRETCH ........... 0x0 IC_STOP_DET_IF_MASTER_ACTIVE ...... 0x0 IC_DEFAULT_UFM_SPKLEN ............. 0x1 IC_TX_BUFFER_DEPTH ................ 16 I2C0 0x40048000 0x0 0x100 registers n I2C1_IRQ 24 IC_ACK_GENERAL_CALL I2C ACK General Call Register The register controls whether DW_apb_i2c responds with a ACK or NACK when it receives an I2C General Call address. This register is applicable only when the DW_apb_i2c is in slave mode. 0x98 32 read-write n 0x1 0x0 ACK_GEN_CALL ACK General Call. When set to 1, DW_apb_i2c responds with a ACK (by asserting ic_data_oe) when it receives a General Call. Otherwise, DW_apb_i2c responds with a NACK (by negating ic_data_oe). 0 1 read-write DISABLED Generate NACK for a General Call 0 ENABLED Generate ACK for a General Call 1 IC_CLR_ACTIVITY Clear ACTIVITY Interrupt Register 0x5C 32 read-write n 0x0 0x0 CLR_ACTIVITY Reading this register clears the ACTIVITY interrupt if the I2C is not active anymore. If the I2C module is still active on the bus, the ACTIVITY interrupt bit continues to be set. It is automatically cleared by hardware if the module is disabled and if there is no further activity on the bus. The value read from this register to get status of the ACTIVITY interrupt (bit 8) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_GEN_CALL Clear GEN_CALL Interrupt Register 0x68 32 read-write n 0x0 0x0 CLR_GEN_CALL Read this register to clear the GEN_CALL interrupt (bit 11) of IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_INTR Clear Combined and Individual Interrupt Register 0x40 32 read-write n 0x0 0x0 CLR_INTR Read this register to clear the combined interrupt, all individual interrupts, and the IC_TX_ABRT_SOURCE register. This bit does not clear hardware clearable interrupts but software clearable interrupts. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE. Reset value: 0x0 0 1 read-only IC_CLR_RD_REQ Clear RD_REQ Interrupt Register 0x50 32 read-write n 0x0 0x0 CLR_RD_REQ Read this register to clear the RD_REQ interrupt (bit 5) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_RESTART_DET Clear RESTART_DET Interrupt Register 0xA8 32 read-write n 0x0 0x0 CLR_RESTART_DET Read this register to clear the RESTART_DET interrupt (bit 12) of IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_RX_DONE Clear RX_DONE Interrupt Register 0x58 32 read-write n 0x0 0x0 CLR_RX_DONE Read this register to clear the RX_DONE interrupt (bit 7) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_RX_OVER Clear RX_OVER Interrupt Register 0x48 32 read-write n 0x0 0x0 CLR_RX_OVER Read this register to clear the RX_OVER interrupt (bit 1) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_RX_UNDER Clear RX_UNDER Interrupt Register 0x44 32 read-write n 0x0 0x0 CLR_RX_UNDER Read this register to clear the RX_UNDER interrupt (bit 0) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_START_DET Clear START_DET Interrupt Register 0x64 32 read-write n 0x0 0x0 CLR_START_DET Read this register to clear the START_DET interrupt (bit 10) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_STOP_DET Clear STOP_DET Interrupt Register 0x60 32 read-write n 0x0 0x0 CLR_STOP_DET Read this register to clear the STOP_DET interrupt (bit 9) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_CLR_TX_ABRT Clear TX_ABRT Interrupt Register 0x54 32 read-write n 0x0 0x0 CLR_TX_ABRT Read this register to clear the TX_ABRT interrupt (bit 6) of the IC_RAW_INTR_STAT register, and the IC_TX_ABRT_SOURCE register. This also releases the TX FIFO from the flushed/reset state, allowing more writes to the TX FIFO. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE. Reset value: 0x0 0 1 read-only IC_CLR_TX_OVER Clear TX_OVER Interrupt Register 0x4C 32 read-write n 0x0 0x0 CLR_TX_OVER Read this register to clear the TX_OVER interrupt (bit 3) of the IC_RAW_INTR_STAT register. Reset value: 0x0 0 1 read-only IC_COMP_PARAM_1 Component Parameter Register 1 Note This register is not implemented and therefore reads as 0. If it was implemented it would be a constant read-only register that contains encoded information about the component's parameter settings. Fields shown below are the settings for those parameters 0xF4 32 read-write n 0x0 0x0 ADD_ENCODED_PARAMS Encoded parameters not visible 7 1 read-only APB_DATA_WIDTH APB data bus width is 32 bits 0 2 read-only HAS_DMA DMA handshaking signals are enabled 6 1 read-only HC_COUNT_VALUES Programmable count values for each mode. 4 1 read-only INTR_IO COMBINED Interrupt outputs 5 1 read-only MAX_SPEED_MODE MAX SPEED MODE = FAST MODE 2 2 read-only RX_BUFFER_DEPTH RX Buffer Depth = 16 8 8 read-only TX_BUFFER_DEPTH TX Buffer Depth = 16 16 8 read-only IC_COMP_TYPE I2C Component Type Register 0xFC 32 read-write n 0x44570140 0x0 IC_COMP_TYPE Designware Component Type number = 0x44_57_01_40. This assigned unique hex value is constant and is derived from the two ASCII letters 'DW' followed by a 16-bit unsigned number. 0 32 read-only IC_COMP_VERSION I2C Component Version Register 0xF8 32 read-write n 0x3230312A 0x0 IC_COMP_VERSION 0 32 read-only IC_CON I2C Control Register. This register can be written only when the DW_apb_i2c is disabled, which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. Read/Write Access: - bit 10 is read only. - bit 11 is read only - bit 16 is read only - bit 17 is read only - bits 18 and 19 are read only. 0x0 32 read-write n 0x65 0x0 IC_10BITADDR_MASTER Controls whether the DW_apb_i2c starts its transfers in 7- or 10-bit addressing mode when acting as a master. - 0: 7-bit addressing - 1: 10-bit addressing 4 1 read-write ADDR_7BITS Master 7Bit addressing mode 0 ADDR_10BITS Master 10Bit addressing mode 1 IC_10BITADDR_SLAVE When acting as a slave, this bit controls whether the DW_apb_i2c responds to 7- or 10-bit addresses. - 0: 7-bit addressing. The DW_apb_i2c ignores transactions that involve 10-bit addressing for 7-bit addressing, only the lower 7 bits of the IC_SAR register are compared. - 1: 10-bit addressing. The DW_apb_i2c responds to only 10-bit addressing transfers that match the full 10 bits of the IC_SAR register. 3 1 read-write ADDR_7BITS Slave 7Bit addressing 0 ADDR_10BITS Slave 10Bit addressing 1 IC_RESTART_EN Determines whether RESTART conditions may be sent when acting as a master. Some older slaves do not support handling RESTART conditions however, RESTART conditions are used in several DW_apb_i2c operations. When RESTART is disabled, the master is prohibited from performing the following functions: - Sending a START BYTE - Performing any high-speed mode operation - High-speed mode operation - Performing direction changes in combined format mode - Performing a read operation with a 10-bit address By replacing RESTART condition followed by a STOP and a subsequent START condition, split operations are broken down into multiple DW_apb_i2c transfers. If the above operations are performed, it will result in setting bit 6 (TX_ABRT) of the IC_RAW_INTR_STAT register. Reset value: ENABLED 5 1 read-write DISABLED Master restart disabled 0 ENABLED Master restart enabled 1 IC_SLAVE_DISABLE This bit controls whether I2C has its slave disabled, which means once the presetn signal is applied, then this bit is set and the slave is disabled. If this bit is set (slave is disabled), DW_apb_i2c functions only as a master and does not perform any action that requires a slave. NOTE: Software should ensure that if this bit is written with 0, then bit 0 should also be written with a 0. 6 1 read-write SLAVE_ENABLED Slave mode is enabled 0 SLAVE_DISABLED Slave mode is disabled 1 MASTER_MODE This bit controls whether the DW_apb_i2c master is enabled. NOTE: Software should ensure that if this bit is written with '1' then bit 6 should also be written with a '1'. 0 1 read-write DISABLED Master mode is disabled 0 ENABLED Master mode is enabled 1 RX_FIFO_FULL_HLD_CTRL This bit controls whether DW_apb_i2c should hold the bus when the Rx FIFO is physically full to its RX_BUFFER_DEPTH, as described in the IC_RX_FULL_HLD_BUS_EN parameter. Reset value: 0x0. 9 1 read-write DISABLED Overflow when RX_FIFO is full 0 ENABLED Hold bus when RX_FIFO is full 1 SPEED These bits control at which speed the DW_apb_i2c operates its setting is relevant only if one is operating the DW_apb_i2c in master mode. Hardware protects against illegal values being programmed by software. These bits must be programmed appropriately for slave mode also, as it is used to capture correct value of spike filter as per the speed mode. This register should be programmed only with a value in the range of 1 to IC_MAX_SPEED_MODE otherwise, hardware updates this register with the value of IC_MAX_SPEED_MODE. 1: standard mode (100 kbit/s) 2: fast mode (<=400 kbit/s) or fast mode plus (<=1000Kbit/s) 3: high speed mode (3.4 Mbit/s) Note: This field is not applicable when IC_ULTRA_FAST_MODE=1 1 2 read-write STANDARD Standard Speed mode of operation 1 FAST Fast or Fast Plus mode of operation 2 HIGH High Speed mode of operation 3 STOP_DET_IFADDRESSED In slave mode: - 1'b1: issues the STOP_DET interrupt only when it is addressed. - 1'b0: issues the STOP_DET irrespective of whether it's addressed or not. Reset value: 0x0 NOTE: During a general call address, this slave does not issue the STOP_DET interrupt if STOP_DET_IF_ADDRESSED = 1'b1, even if the slave responds to the general call address by generating ACK. The STOP_DET interrupt is generated only when the transmitted address matches the slave address (SAR). 7 1 read-write DISABLED slave issues STOP_DET intr always 0 ENABLED slave issues STOP_DET intr only if addressed 1 STOP_DET_IF_MASTER_ACTIVE Master issues the STOP_DET interrupt irrespective of whether master is active or not 10 1 read-only TX_EMPTY_CTRL This bit controls the generation of the TX_EMPTY interrupt, as described in the IC_RAW_INTR_STAT register. Reset value: 0x0. 8 1 read-write DISABLED Default behaviour of TX_EMPTY interrupt 0 ENABLED Controlled generation of TX_EMPTY interrupt 1 IC_DATA_CMD I2C Rx/Tx Data Buffer and Command Register this is the register the CPU writes to when filling the TX FIFO and the CPU reads from when retrieving bytes from RX FIFO. The size of the register changes as follows: Write: - 11 bits when IC_EMPTYFIFO_HOLD_MASTER_EN=1 - 9 bits when IC_EMPTYFIFO_HOLD_MASTER_EN=0 Read: - 12 bits when IC_FIRST_DATA_BYTE_STATUS = 1 - 8 bits when IC_FIRST_DATA_BYTE_STATUS = 0 Note: In order for the DW_apb_i2c to continue acknowledging reads, a read command should be written for every byte that is to be received otherwise the DW_apb_i2c will stop acknowledging. 0x10 32 read-write n 0x0 0x0 CMD This bit controls whether a read or a write is performed. This bit does not control the direction when the DW_apb_i2con acts as a slave. It controls only the direction when it acts as a master. When a command is entered in the TX FIFO, this bit distinguishes the write and read commands. In slave-receiver mode, this bit is a 'don't care' because writes to this register are not required. In slave-transmitter mode, a '0' indicates that the data in IC_DATA_CMD is to be transmitted. When programming this bit, you should remember the following: attempting to perform a read operation after a General Call command has been sent results in a TX_ABRT interrupt (bit 6 of the IC_RAW_INTR_STAT register), unless bit 11 (SPECIAL) in the IC_TAR register has been cleared. If a '1' is written to this bit after receiving a RD_REQ interrupt, then a TX_ABRT interrupt occurs. Reset value: 0x0 8 1 read-write clear WRITE Master Write Command 0 READ Master Read Command 1 DAT This register contains the data to be transmitted or received on the I2C bus. If you are writing to this register and want to perform a read, bits 7:0 (DAT) are ignored by the DW_apb_i2c. However, when you read this register, these bits return the value of data received on the DW_apb_i2c interface. Reset value: 0x0 0 8 read-write FIRST_DATA_BYTE Indicates the first data byte received after the address phase for receive transfer in Master receiver or Slave receiver mode. Reset value : 0x0 NOTE: In case of APB_DATA_WIDTH=8, 1. The user has to perform two APB Reads to IC_DATA_CMD in order to get status on 11 bit. 2. In order to read the 11 bit, the user has to perform the first data byte read [7:0] (offset 0x10) and then perform the second read [15:8] (offset 0x11) in order to know the status of 11 bit (whether the data received in previous read is a first data byte or not). 3. The 11th bit is an optional read field, user can ignore 2nd byte read [15:8] (offset 0x11) if not interested in FIRST_DATA_BYTE status. 11 1 read-only INACTIVE Sequential data byte received 0 ACTIVE Non sequential data byte received 1 RESTART This bit controls whether a RESTART is issued before the byte is sent or received. 1 - If IC_RESTART_EN is 1, a RESTART is issued before the data is sent/received (according to the value of CMD), regardless of whether or not the transfer direction is changing from the previous command if IC_RESTART_EN is 0, a STOP followed by a START is issued instead. 0 - If IC_RESTART_EN is 1, a RESTART is issued only if the transfer direction is changing from the previous command if IC_RESTART_EN is 0, a STOP followed by a START is issued instead. Reset value: 0x0 10 1 read-write clear DISABLE Don't Issue RESTART before this command 0 ENABLE Issue RESTART before this command 1 STOP This bit controls whether a STOP is issued after the byte is sent or received. - 1 - STOP is issued after this byte, regardless of whether or not the Tx FIFO is empty. If the Tx FIFO is not empty, the master immediately tries to start a new transfer by issuing a START and arbitrating for the bus. - 0 - STOP is not issued after this byte, regardless of whether or not the Tx FIFO is empty. If the Tx FIFO is not empty, the master continues the current transfer by sending/receiving data bytes according to the value of the CMD bit. If the Tx FIFO is empty, the master holds the SCL line low and stalls the bus until a new command is available in the Tx FIFO. Reset value: 0x0 9 1 read-write clear DISABLE Don't Issue STOP after this command 0 ENABLE Issue STOP after this command 1 IC_DMA_CR DMA Control Register The register is used to enable the DMA Controller interface operation. There is a separate bit for transmit and receive. This can be programmed regardless of the state of IC_ENABLE. 0x88 32 read-write n 0x0 0x0 RDMAE Receive DMA Enable. This bit enables/disables the receive FIFO DMA channel. Reset value: 0x0 0 1 read-write DISABLED Receive FIFO DMA channel disabled 0 ENABLED Receive FIFO DMA channel enabled 1 TDMAE Transmit DMA Enable. This bit enables/disables the transmit FIFO DMA channel. Reset value: 0x0 1 1 read-write DISABLED transmit FIFO DMA channel disabled 0 ENABLED Transmit FIFO DMA channel enabled 1 IC_DMA_RDLR I2C Receive Data Level Register 0x90 32 read-write n 0x0 0x0 DMARDL Receive Data Level. This bit field controls the level at which a DMA request is made by the receive logic. The watermark level = DMARDL+1 that is, dma_rx_req is generated when the number of valid data entries in the receive FIFO is equal to or more than this field value + 1, and RDMAE =1. For instance, when DMARDL is 0, then dma_rx_req is asserted when 1 or more data entries are present in the receive FIFO. Reset value: 0x0 0 4 read-write IC_DMA_TDLR DMA Transmit Data Level Register 0x8C 32 read-write n 0x0 0x0 DMATDL Transmit Data Level. This bit field controls the level at which a DMA request is made by the transmit logic. It is equal to the watermark level that is, the dma_tx_req signal is generated when the number of valid data entries in the transmit FIFO is equal to or below this field value, and TDMAE = 1. Reset value: 0x0 0 4 read-write IC_ENABLE I2C Enable Register 0x6C 32 read-write n 0x0 0x0 ABORT When set, the controller initiates the transfer abort. - 0: ABORT not initiated or ABORT done - 1: ABORT operation in progress The software can abort the I2C transfer in master mode by setting this bit. The software can set this bit only when ENABLE is already set otherwise, the controller ignores any write to ABORT bit. The software cannot clear the ABORT bit once set. In response to an ABORT, the controller issues a STOP and flushes the Tx FIFO after completing the current transfer, then sets the TX_ABORT interrupt after the abort operation. The ABORT bit is cleared automatically after the abort operation. For a detailed description on how to abort I2C transfers, refer to 'Aborting I2C Transfers'. Reset value: 0x0 1 1 read-write DISABLE ABORT operation not in progress 0 ENABLED ABORT operation in progress 1 ENABLE Controls whether the DW_apb_i2c is enabled. - 0: Disables DW_apb_i2c (TX and RX FIFOs are held in an erased state) - 1: Enables DW_apb_i2c Software can disable DW_apb_i2c while it is active. However, it is important that care be taken to ensure that DW_apb_i2c is disabled properly. A recommended procedure is described in 'Disabling DW_apb_i2c'. When DW_apb_i2c is disabled, the following occurs: - The TX FIFO and RX FIFO get flushed. - Status bits in the IC_INTR_STAT register are still active until DW_apb_i2c goes into IDLE state. If the module is transmitting, it stops as well as deletes the contents of the transmit buffer after the current transfer is complete. If the module is receiving, the DW_apb_i2c stops the current transfer at the end of the current byte and does not acknowledge the transfer. In systems with asynchronous pclk and ic_clk when IC_CLK_TYPE parameter set to asynchronous (1), there is a two ic_clk delay when enabling or disabling the DW_apb_i2c. For a detailed description on how to disable DW_apb_i2c, refer to 'Disabling DW_apb_i2c' Reset value: 0x0 0 1 read-write DISABLED I2C is disabled 0 ENABLED I2C is enabled 1 TX_CMD_BLOCK In Master mode: - 1'b1: Blocks the transmission of data on I2C bus even if Tx FIFO has data to transmit. - 1'b0: The transmission of data starts on I2C bus automatically, as soon as the first data is available in the Tx FIFO. Note: To block the execution of Master commands, set the TX_CMD_BLOCK bit only when Tx FIFO is empty (IC_STATUS[2]==1) and Master is in Idle state (IC_STATUS[5] == 0). Any further commands put in the Tx FIFO are not executed until TX_CMD_BLOCK bit is unset. Reset value: IC_TX_CMD_BLOCK_DEFAULT 2 1 read-write NOT_BLOCKED Tx Command execution not blocked 0 BLOCKED Tx Command execution blocked 1 IC_ENABLE_STATUS I2C Enable Status Register The register is used to report the DW_apb_i2c hardware status when the IC_ENABLE[0] register is set from 1 to 0 that is, when DW_apb_i2c is disabled. If IC_ENABLE[0] has been set to 1, bits 2:1 are forced to 0, and bit 0 is forced to 1. If IC_ENABLE[0] has been set to 0, bits 2:1 is only be valid as soon as bit 0 is read as '0'. Note: When IC_ENABLE[0] has been set to 0, a delay occurs for bit 0 to be read as 0 because disabling the DW_apb_i2c depends on I2C bus activities. 0x9C 32 read-write n 0x0 0x0 IC_EN ic_en Status. This bit always reflects the value driven on the output port ic_en. - When read as 1, DW_apb_i2c is deemed to be in an enabled state. - When read as 0, DW_apb_i2c is deemed completely inactive. Note: The CPU can safely read this bit anytime. When this bit is read as 0, the CPU can safely read SLV_RX_DATA_LOST (bit 2) and SLV_DISABLED_WHILE_BUSY (bit 1). Reset value: 0x0 0 1 read-only DISABLED I2C disabled 0 ENABLED I2C enabled 1 SLV_DISABLED_WHILE_BUSY Slave Disabled While Busy (Transmit, Receive). This bit indicates if a potential or active Slave operation has been aborted due to the setting bit 0 of the IC_ENABLE register from 1 to 0. This bit is set when the CPU writes a 0 to the IC_ENABLE register while: (a) DW_apb_i2c is receiving the address byte of the Slave-Transmitter operation from a remote master OR, (b) address and data bytes of the Slave-Receiver operation from a remote master. When read as 1, DW_apb_i2c is deemed to have forced a NACK during any part of an I2C transfer, irrespective of whether the I2C address matches the slave address set in DW_apb_i2c (IC_SAR register) OR if the transfer is completed before IC_ENABLE is set to 0 but has not taken effect. Note: If the remote I2C master terminates the transfer with a STOP condition before the DW_apb_i2c has a chance to NACK a transfer, and IC_ENABLE[0] has been set to 0, then this bit will also be set to 1. When read as 0, DW_apb_i2c is deemed to have been disabled when there is master activity, or when the I2C bus is idle. Note: The CPU can safely read this bit when IC_EN (bit 0) is read as 0. Reset value: 0x0 1 1 read-only INACTIVE Slave is disabled when it is idle 0 ACTIVE Slave is disabled when it is active 1 SLV_RX_DATA_LOST Slave Received Data Lost. This bit indicates if a Slave-Receiver operation has been aborted with at least one data byte received from an I2C transfer due to the setting bit 0 of IC_ENABLE from 1 to 0. When read as 1, DW_apb_i2c is deemed to have been actively engaged in an aborted I2C transfer (with matching address) and the data phase of the I2C transfer has been entered, even though a data byte has been responded with a NACK. Note: If the remote I2C master terminates the transfer with a STOP condition before the DW_apb_i2c has a chance to NACK a transfer, and IC_ENABLE[0] has been set to 0, then this bit is also set to 1. When read as 0, DW_apb_i2c is deemed to have been disabled without being actively involved in the data phase of a Slave-Receiver transfer. Note: The CPU can safely read this bit when IC_EN (bit 0) is read as 0. Reset value: 0x0 2 1 read-only INACTIVE Slave RX Data is not lost 0 ACTIVE Slave RX Data is lost 1 IC_FS_SCL_HCNT Fast Mode or Fast Mode Plus I2C Clock SCL High Count Register 0x1C 32 read-write n 0x6 0x0 IC_FS_SCL_HCNT This register must be set before any I2C bus transaction can take place to ensure proper I/O timing. This register sets the SCL clock high-period count for fast mode or fast mode plus. It is used in high-speed mode to send the Master Code and START BYTE or General CALL. For more information, refer to 'IC_CLK Frequency Configuration'. This register goes away and becomes read-only returning 0s if IC_MAX_SPEED_MODE = standard. This register can be written only when the I2C interface is disabled, which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 6 hardware prevents values less than this being written, and if attempted results in 6 being set. For designs with APB_DATA_WIDTH == 8 the order of programming is important to ensure the correct operation of the DW_apb_i2c. The lower byte must be programmed first. Then the upper byte is programmed. 0 16 read-write IC_FS_SCL_LCNT Fast Mode or Fast Mode Plus I2C Clock SCL Low Count Register 0x20 32 read-write n 0xD 0x0 IC_FS_SCL_LCNT This register must be set before any I2C bus transaction can take place to ensure proper I/O timing. This register sets the SCL clock low period count for fast speed. It is used in high-speed mode to send the Master Code and START BYTE or General CALL. For more information, refer to 'IC_CLK Frequency Configuration'. This register goes away and becomes read-only returning 0s if IC_MAX_SPEED_MODE = standard. This register can be written only when the I2C interface is disabled, which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 8 hardware prevents values less than this being written, and if attempted results in 8 being set. For designs with APB_DATA_WIDTH = 8 the order of programming is important to ensure the correct operation of the DW_apb_i2c. The lower byte must be programmed first. Then the upper byte is programmed. If the value is less than 8 then the count value gets changed to 8. 0 16 read-write IC_FS_SPKLEN I2C SS, FS or FM+ spike suppression limit This register is used to store the duration, measured in ic_clk cycles, of the longest spike that is filtered out by the spike suppression logic when the component is operating in SS, FS or FM+ modes. The relevant I2C requirement is tSP (table 4) as detailed in the I2C Bus Specification. This register must be programmed with a minimum value of 1. 0xA0 32 read-write n 0x7 0x0 IC_FS_SPKLEN This register must be set before any I2C bus transaction can take place to ensure stable operation. This register sets the duration, measured in ic_clk cycles, of the longest spike in the SCL or SDA lines that will be filtered out by the spike suppression logic. This register can be written only when the I2C interface is disabled which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 1 hardware prevents values less than this being written, and if attempted results in 1 being set. or more information, refer to 'Spike Suppression'. 0 8 read-write IC_INTR_MASK I2C Interrupt Mask Register. These bits mask their corresponding interrupt status bits. This register is active low a value of 0 masks the interrupt, whereas a value of 1 unmasks the interrupt. 0x30 32 read-write n 0x8FF 0x0 M_ACTIVITY This bit masks the R_ACTIVITY interrupt in IC_INTR_STAT register. Reset value: 0x0 8 1 read-write ENABLED ACTIVITY interrupt is masked 0 DISABLED ACTIVITY interrupt is unmasked 1 M_GEN_CALL This bit masks the R_GEN_CALL interrupt in IC_INTR_STAT register. Reset value: 0x1 11 1 read-write ENABLED GEN_CALL interrupt is masked 0 DISABLED GEN_CALL interrupt is unmasked 1 M_MASTER_ON_HOLD_READ_ONLY This M_MASTER_ON_HOLD_read_only bit masks the R_MASTER_ON_HOLD interrupt in IC_INTR_STAT register.\n\n Reset value: 0x0 13 14 read-only ENABLED MASTER_ON_HOLD interrupt is masked 0 DISABLED MASTER_ON_HOLD interrupt is unmasked 1 M_RD_REQ This bit masks the R_RD_REQ interrupt in IC_INTR_STAT register. Reset value: 0x1 5 1 read-write ENABLED RD_REQ interrupt is masked 0 DISABLED RD_REQ interrupt is unmasked 1 M_RESTART_DET This bit masks the R_RESTART_DET interrupt in IC_INTR_STAT register. Reset value: 0x0 12 1 read-write ENABLED RESTART_DET interrupt is masked 0 DISABLED RESTART_DET interrupt is unmasked 1 M_RX_DONE This bit masks the R_RX_DONE interrupt in IC_INTR_STAT register. Reset value: 0x1 7 1 read-write ENABLED RX_DONE interrupt is masked 0 DISABLED RX_DONE interrupt is unmasked 1 M_RX_FULL This bit masks the R_RX_FULL interrupt in IC_INTR_STAT register. Reset value: 0x1 2 1 read-write ENABLED RX_FULL interrupt is masked 0 DISABLED RX_FULL interrupt is unmasked 1 M_RX_OVER This bit masks the R_RX_OVER interrupt in IC_INTR_STAT register. Reset value: 0x1 1 1 read-write ENABLED RX_OVER interrupt is masked 0 DISABLED RX_OVER interrupt is unmasked 1 M_RX_UNDER This bit masks the R_RX_UNDER interrupt in IC_INTR_STAT register. Reset value: 0x1 0 1 read-write ENABLED RX_UNDER interrupt is masked 0 DISABLED RX_UNDER interrupt is unmasked 1 M_START_DET This bit masks the R_START_DET interrupt in IC_INTR_STAT register. Reset value: 0x0 10 1 read-write ENABLED START_DET interrupt is masked 0 DISABLED START_DET interrupt is unmasked 1 M_STOP_DET This bit masks the R_STOP_DET interrupt in IC_INTR_STAT register. Reset value: 0x0 9 1 read-write ENABLED STOP_DET interrupt is masked 0 DISABLED STOP_DET interrupt is unmasked 1 M_TX_ABRT This bit masks the R_TX_ABRT interrupt in IC_INTR_STAT register. Reset value: 0x1 6 1 read-write ENABLED TX_ABORT interrupt is masked 0 DISABLED TX_ABORT interrupt is unmasked 1 M_TX_EMPTY This bit masks the R_TX_EMPTY interrupt in IC_INTR_STAT register. Reset value: 0x1 4 1 read-write ENABLED TX_EMPTY interrupt is masked 0 DISABLED TX_EMPTY interrupt is unmasked 1 M_TX_OVER This bit masks the R_TX_OVER interrupt in IC_INTR_STAT register. Reset value: 0x1 3 1 read-write ENABLED TX_OVER interrupt is masked 0 DISABLED TX_OVER interrupt is unmasked 1 IC_INTR_STAT I2C Interrupt Status Register Each bit in this register has a corresponding mask bit in the IC_INTR_MASK register. These bits are cleared by reading the matching interrupt clear register. The unmasked raw versions of these bits are available in the IC_RAW_INTR_STAT register. 0x2C 32 read-write n 0x0 0x0 R_ACTIVITY See IC_RAW_INTR_STAT for a detailed description of R_ACTIVITY bit. Reset value: 0x0 8 1 read-only INACTIVE R_ACTIVITY interrupt is inactive 0 ACTIVE R_ACTIVITY interrupt is active 1 R_GEN_CALL See IC_RAW_INTR_STAT for a detailed description of R_GEN_CALL bit. Reset value: 0x0 11 1 read-only INACTIVE R_GEN_CALL interrupt is inactive 0 ACTIVE R_GEN_CALL interrupt is active 1 R_MASTER_ON_HOLD See IC_RAW_INTR_STAT for a detailed description of R_MASTER_ON_HOLD bit.\n\n Reset value: 0x0 13 14 read-only INACTIVE R_MASTER_ON_HOLD interrupt is inactive 0 ACTIVE R_MASTER_ON_HOLD interrupt is active 1 R_RD_REQ See IC_RAW_INTR_STAT for a detailed description of R_RD_REQ bit. Reset value: 0x0 5 1 read-only INACTIVE R_RD_REQ interrupt is inactive 0 ACTIVE R_RD_REQ interrupt is active 1 R_RESTART_DET See IC_RAW_INTR_STAT for a detailed description of R_RESTART_DET bit. Reset value: 0x0 12 1 read-only INACTIVE R_RESTART_DET interrupt is inactive 0 ACTIVE R_RESTART_DET interrupt is active 1 R_RX_DONE See IC_RAW_INTR_STAT for a detailed description of R_RX_DONE bit. Reset value: 0x0 7 1 read-only INACTIVE R_RX_DONE interrupt is inactive 0 ACTIVE R_RX_DONE interrupt is active 1 R_RX_FULL See IC_RAW_INTR_STAT for a detailed description of R_RX_FULL bit. Reset value: 0x0 2 1 read-only INACTIVE R_RX_FULL interrupt is inactive 0 ACTIVE R_RX_FULL interrupt is active 1 R_RX_OVER See IC_RAW_INTR_STAT for a detailed description of R_RX_OVER bit. Reset value: 0x0 1 1 read-only INACTIVE R_RX_OVER interrupt is inactive 0 ACTIVE R_RX_OVER interrupt is active 1 R_RX_UNDER See IC_RAW_INTR_STAT for a detailed description of R_RX_UNDER bit. Reset value: 0x0 0 1 read-only INACTIVE RX_UNDER interrupt is inactive 0 ACTIVE RX_UNDER interrupt is active 1 R_START_DET See IC_RAW_INTR_STAT for a detailed description of R_START_DET bit. Reset value: 0x0 10 1 read-only INACTIVE R_START_DET interrupt is inactive 0 ACTIVE R_START_DET interrupt is active 1 R_STOP_DET See IC_RAW_INTR_STAT for a detailed description of R_STOP_DET bit. Reset value: 0x0 9 1 read-only INACTIVE R_STOP_DET interrupt is inactive 0 ACTIVE R_STOP_DET interrupt is active 1 R_TX_ABRT See IC_RAW_INTR_STAT for a detailed description of R_TX_ABRT bit. Reset value: 0x0 6 1 read-only INACTIVE R_TX_ABRT interrupt is inactive 0 ACTIVE R_TX_ABRT interrupt is active 1 R_TX_EMPTY See IC_RAW_INTR_STAT for a detailed description of R_TX_EMPTY bit. Reset value: 0x0 4 1 read-only INACTIVE R_TX_EMPTY interrupt is inactive 0 ACTIVE R_TX_EMPTY interrupt is active 1 R_TX_OVER See IC_RAW_INTR_STAT for a detailed description of R_TX_OVER bit. Reset value: 0x0 3 1 read-only INACTIVE R_TX_OVER interrupt is inactive 0 ACTIVE R_TX_OVER interrupt is active 1 IC_RAW_INTR_STAT I2C Raw Interrupt Status Register Unlike the IC_INTR_STAT register, these bits are not masked so they always show the true status of the DW_apb_i2c. 0x34 32 read-write n 0x0 0x0 ACTIVITY This bit captures DW_apb_i2c activity and stays set until it is cleared. There are four ways to clear it: - Disabling the DW_apb_i2c - Reading the IC_CLR_ACTIVITY register - Reading the IC_CLR_INTR register - System reset Once this bit is set, it stays set unless one of the four methods is used to clear it. Even if the DW_apb_i2c module is idle, this bit remains set until cleared, indicating that there was activity on the bus. Reset value: 0x0 8 1 read-only INACTIVE RAW_INTR_ACTIVITY interrupt is inactive 0 ACTIVE RAW_INTR_ACTIVITY interrupt is active 1 GEN_CALL Set only when a General Call address is received and it is acknowledged. It stays set until it is cleared either by disabling DW_apb_i2c or when the CPU reads bit 0 of the IC_CLR_GEN_CALL register. DW_apb_i2c stores the received data in the Rx buffer. Reset value: 0x0 11 1 read-only INACTIVE GEN_CALL interrupt is inactive 0 ACTIVE GEN_CALL interrupt is active 1 MASTER_ON_HOLD Indicates whether master is holding the bus and TX FIFO is empty. Enabled only when I2C_DYNAMIC_TAR_UPDATE=1 and IC_EMPTYFIFO_HOLD_MASTER_EN=1.\n\n Reset value: 0x0 13 14 read-only INACTIVE MASTER_ON_HOLD interrupt is inactive 0 ACTIVE MASTER_ON_HOLD interrupt is active 1 RD_REQ This bit is set to 1 when DW_apb_i2c is acting as a slave and another I2C master is attempting to read data from DW_apb_i2c. The DW_apb_i2c holds the I2C bus in a wait state (SCL=0) until this interrupt is serviced, which means that the slave has been addressed by a remote master that is asking for data to be transferred. The processor must respond to this interrupt and then write the requested data to the IC_DATA_CMD register. This bit is set to 0 just after the processor reads the IC_CLR_RD_REQ register. Reset value: 0x0 5 1 read-only INACTIVE RD_REQ interrupt is inactive 0 ACTIVE RD_REQ interrupt is active 1 RESTART_DET Indicates whether a RESTART condition has occurred on the I2C interface when DW_apb_i2c is operating in Slave mode and the slave is being addressed. Enabled only when IC_SLV_RESTART_DET_EN=1. Note: However, in high-speed mode or during a START BYTE transfer, the RESTART comes before the address field as per the I2C protocol. In this case, the slave is not the addressed slave when the RESTART is issued, therefore DW_apb_i2c does not generate the RESTART_DET interrupt. Reset value: 0x0 12 1 read-only INACTIVE RESTART_DET interrupt is inactive 0 ACTIVE RESTART_DET interrupt is active 1 RX_DONE When the DW_apb_i2c is acting as a slave-transmitter, this bit is set to 1 if the master does not acknowledge a transmitted byte. This occurs on the last byte of the transmission, indicating that the transmission is done. Reset value: 0x0 7 1 read-only INACTIVE RX_DONE interrupt is inactive 0 ACTIVE RX_DONE interrupt is active 1 RX_FULL Set when the receive buffer reaches or goes above the RX_TL threshold in the IC_RX_TL register. It is automatically cleared by hardware when buffer level goes below the threshold. If the module is disabled (IC_ENABLE[0]=0), the RX FIFO is flushed and held in reset therefore the RX FIFO is not full. So this bit is cleared once the IC_ENABLE bit 0 is programmed with a 0, regardless of the activity that continues. Reset value: 0x0 2 1 read-only INACTIVE RX_FULL interrupt is inactive 0 ACTIVE RX_FULL interrupt is active 1 RX_OVER Set if the receive buffer is completely filled to IC_RX_BUFFER_DEPTH and an additional byte is received from an external I2C device. The DW_apb_i2c acknowledges this, but any data bytes received after the FIFO is full are lost. If the module is disabled (IC_ENABLE[0]=0), this bit keeps its level until the master or slave state machines go into idle, and when ic_en goes to 0, this interrupt is cleared. Note: If bit 9 of the IC_CON register (RX_FIFO_FULL_HLD_CTRL) is programmed to HIGH, then the RX_OVER interrupt never occurs, because the Rx FIFO never overflows. Reset value: 0x0 1 1 read-only INACTIVE RX_OVER interrupt is inactive 0 ACTIVE RX_OVER interrupt is active 1 RX_UNDER Set if the processor attempts to read the receive buffer when it is empty by reading from the IC_DATA_CMD register. If the module is disabled (IC_ENABLE[0]=0), this bit keeps its level until the master or slave state machines go into idle, and when ic_en goes to 0, this interrupt is cleared. Reset value: 0x0 0 1 read-only INACTIVE RX_UNDER interrupt is inactive 0 ACTIVE RX_UNDER interrupt is active 1 START_DET Indicates whether a START or RESTART condition has occurred on the I2C interface regardless of whether DW_apb_i2c is operating in slave or master mode. Reset value: 0x0 10 1 read-only INACTIVE START_DET interrupt is inactive 0 ACTIVE START_DET interrupt is active 1 STOP_DET Indicates whether a STOP condition has occurred on the I2C interface regardless of whether DW_apb_i2c is operating in slave or master mode. In Slave Mode: - If IC_CON[7]=1'b1 (STOP_DET_IFADDRESSED), the STOP_DET interrupt will be issued only if slave is addressed. Note: During a general call address, this slave does not issue a STOP_DET interrupt if STOP_DET_IF_ADDRESSED=1'b1, even if the slave responds to the general call address by generating ACK. The STOP_DET interrupt is generated only when the transmitted address matches the slave address (SAR). - If IC_CON[7]=1'b0 (STOP_DET_IFADDRESSED), the STOP_DET interrupt is issued irrespective of whether it is being addressed. In Master Mode: - If IC_CON[10]=1'b1 (STOP_DET_IF_MASTER_ACTIVE),the STOP_DET interrupt will be issued only if Master is active. - If IC_CON[10]=1'b0 (STOP_DET_IFADDRESSED),the STOP_DET interrupt will be issued irrespective of whether master is active or not. Reset value: 0x0 9 1 read-only INACTIVE STOP_DET interrupt is inactive 0 ACTIVE STOP_DET interrupt is active 1 TX_ABRT This bit indicates if DW_apb_i2c, as an I2C transmitter, is unable to complete the intended actions on the contents of the transmit FIFO. This situation can occur both as an I2C master or an I2C slave, and is referred to as a 'transmit abort'. When this bit is set to 1, the IC_TX_ABRT_SOURCE register indicates the reason why the transmit abort takes places. Note: The DW_apb_i2c flushes/resets/empties the TX_FIFO and RX_FIFO whenever there is a transmit abort caused by any of the events tracked by the IC_TX_ABRT_SOURCE register. The FIFOs remains in this flushed state until the register IC_CLR_TX_ABRT is read. Once this read is performed, the Tx FIFO is then ready to accept more data bytes from the APB interface. Reset value: 0x0 6 1 read-only INACTIVE TX_ABRT interrupt is inactive 0 ACTIVE TX_ABRT interrupt is active 1 TX_EMPTY The behavior of the TX_EMPTY interrupt status differs based on the TX_EMPTY_CTRL selection in the IC_CON register. - When TX_EMPTY_CTRL = 0: This bit is set to 1 when the transmit buffer is at or below the threshold value set in the IC_TX_TL register. - When TX_EMPTY_CTRL = 1: This bit is set to 1 when the transmit buffer is at or below the threshold value set in the IC_TX_TL register and the transmission of the address/data from the internal shift register for the most recently popped command is completed. It is automatically cleared by hardware when the buffer level goes above the threshold. When IC_ENABLE[0] is set to 0, the TX FIFO is flushed and held in reset. There the TX FIFO looks like it has no data within it, so this bit is set to 1, provided there is activity in the master or slave state machines. When there is no longer any activity, then with ic_en=0, this bit is set to 0. Reset value: 0x0. 4 1 read-only INACTIVE TX_EMPTY interrupt is inactive 0 ACTIVE TX_EMPTY interrupt is active 1 TX_OVER Set during transmit if the transmit buffer is filled to IC_TX_BUFFER_DEPTH and the processor attempts to issue another I2C command by writing to the IC_DATA_CMD register. When the module is disabled, this bit keeps its level until the master or slave state machines go into idle, and when ic_en goes to 0, this interrupt is cleared. Reset value: 0x0 3 1 read-only INACTIVE TX_OVER interrupt is inactive 0 ACTIVE TX_OVER interrupt is active 1 IC_RXFLR I2C Receive FIFO Level Register This register contains the number of valid data entries in the receive FIFO buffer. It is cleared whenever: - The I2C is disabled - Whenever there is a transmit abort caused by any of the events tracked in IC_TX_ABRT_SOURCE The register increments whenever data is placed into the receive FIFO and decrements when data is taken from the receive FIFO. 0x78 32 read-write n 0x0 0x0 RXFLR Receive FIFO Level. Contains the number of valid data entries in the receive FIFO. Reset value: 0x0 0 5 read-only IC_RX_TL I2C Receive FIFO Threshold Register 0x38 32 read-write n 0x0 0x0 RX_TL Receive FIFO Threshold Level. Controls the level of entries (or above) that triggers the RX_FULL interrupt (bit 2 in IC_RAW_INTR_STAT register). The valid range is 0-255, with the additional restriction that hardware does not allow this value to be set to a value larger than the depth of the buffer. If an attempt is made to do that, the actual value set will be the maximum depth of the buffer. A value of 0 sets the threshold for 1 entry, and a value of 255 sets the threshold for 256 entries. 0 8 read-write IC_SAR I2C Slave Address Register 0x8 32 read-write n 0x55 0x0 IC_SAR The IC_SAR holds the slave address when the I2C is operating as a slave. For 7-bit addressing, only IC_SAR[6:0] is used. This register can be written only when the I2C interface is disabled, which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. Note: The default values cannot be any of the reserved address locations: that is, 0x00 to 0x07, or 0x78 to 0x7f. The correct operation of the device is not guaranteed if you program the IC_SAR or IC_TAR to a reserved value. Refer to <<table_I2C_firstbyte_bit_defs>> for a complete list of these reserved values. 0 10 read-write IC_SDA_HOLD I2C SDA Hold Time Length Register The bits [15:0] of this register are used to control the hold time of SDA during transmit in both slave and master mode (after SCL goes from HIGH to LOW). The bits [23:16] of this register are used to extend the SDA transition (if any) whenever SCL is HIGH in the receiver in either master or slave mode. Writes to this register succeed only when IC_ENABLE[0]=0. The values in this register are in units of ic_clk period. The value programmed in IC_SDA_TX_HOLD must be greater than the minimum hold time in each mode (one cycle in master mode, seven cycles in slave mode) for the value to be implemented. The programmed SDA hold time during transmit (IC_SDA_TX_HOLD) cannot exceed at any time the duration of the low part of scl. Therefore the programmed value cannot be larger than N_SCL_LOW-2, where N_SCL_LOW is the duration of the low part of the scl period measured in ic_clk cycles. 0x7C 32 read-write n 0x1 0x0 IC_SDA_RX_HOLD Sets the required SDA hold time in units of ic_clk period, when DW_apb_i2c acts as a receiver. Reset value: IC_DEFAULT_SDA_HOLD[23:16]. 16 8 read-write IC_SDA_TX_HOLD Sets the required SDA hold time in units of ic_clk period, when DW_apb_i2c acts as a transmitter. Reset value: IC_DEFAULT_SDA_HOLD[15:0]. 0 16 read-write IC_SDA_SETUP I2C SDA Setup Register This register controls the amount of time delay (in terms of number of ic_clk clock periods) introduced in the rising edge of SCL - relative to SDA changing - when DW_apb_i2c services a read request in a slave-transmitter operation. The relevant I2C requirement is tSU:DAT (note 4) as detailed in the I2C Bus Specification. This register must be programmed with a value equal to or greater than 2. Writes to this register succeed only when IC_ENABLE[0] = 0. Note: The length of setup time is calculated using [(IC_SDA_SETUP - 1) * (ic_clk_period)], so if the user requires 10 ic_clk periods of setup time, they should program a value of 11. The IC_SDA_SETUP register is only used by the DW_apb_i2c when operating as a slave transmitter. 0x94 32 read-write n 0x64 0x0 SDA_SETUP SDA Setup. It is recommended that if the required delay is 1000ns, then for an ic_clk frequency of 10 MHz, IC_SDA_SETUP should be programmed to a value of 11. IC_SDA_SETUP must be programmed with a minimum value of 2. 0 8 read-write IC_SLV_DATA_NACK_ONLY Generate Slave Data NACK Register The register is used to generate a NACK for the data part of a transfer when DW_apb_i2c is acting as a slave-receiver. This register only exists when the IC_SLV_DATA_NACK_ONLY parameter is set to 1. When this parameter disabled, this register does not exist and writing to the register's address has no effect. A write can occur on this register if both of the following conditions are met: - DW_apb_i2c is disabled (IC_ENABLE[0] = 0) - Slave part is inactive (IC_STATUS[6] = 0) Note: The IC_STATUS[6] is a register read-back location for the internal slv_activity signal the user should poll this before writing the ic_slv_data_nack_only bit. 0x84 32 read-write n 0x0 0x0 NACK Generate NACK. This NACK generation only occurs when DW_apb_i2c is a slave-receiver. If this register is set to a value of 1, it can only generate a NACK after a data byte is received hence, the data transfer is aborted and the data received is not pushed to the receive buffer. When the register is set to a value of 0, it generates NACK/ACK, depending on normal criteria. - 1: generate NACK after data byte received - 0: generate NACK/ACK normally Reset value: 0x0 0 1 read-write DISABLED Slave receiver generates NACK normally 0 ENABLED Slave receiver generates NACK upon data reception only 1 IC_SS_SCL_HCNT Standard Speed I2C Clock SCL High Count Register 0x14 32 read-write n 0x28 0x0 IC_SS_SCL_HCNT This register must be set before any I2C bus transaction can take place to ensure proper I/O timing. This register sets the SCL clock high-period count for standard speed. For more information, refer to 'IC_CLK Frequency Configuration'. This register can be written only when the I2C interface is disabled which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 6 hardware prevents values less than this being written, and if attempted results in 6 being set. For designs with APB_DATA_WIDTH = 8, the order of programming is important to ensure the correct operation of the DW_apb_i2c. The lower byte must be programmed first. Then the upper byte is programmed. NOTE: This register must not be programmed to a value higher than 65525, because DW_apb_i2c uses a 16-bit counter to flag an I2C bus idle condition when this counter reaches a value of IC_SS_SCL_HCNT + 10. 0 16 read-write IC_SS_SCL_LCNT Standard Speed I2C Clock SCL Low Count Register 0x18 32 read-write n 0x2F 0x0 IC_SS_SCL_LCNT This register must be set before any I2C bus transaction can take place to ensure proper I/O timing. This register sets the SCL clock low period count for standard speed. For more information, refer to 'IC_CLK Frequency Configuration' This register can be written only when the I2C interface is disabled which corresponds to the IC_ENABLE[0] register being set to 0. Writes at other times have no effect. The minimum valid value is 8 hardware prevents values less than this being written, and if attempted, results in 8 being set. For designs with APB_DATA_WIDTH = 8, the order of programming is important to ensure the correct operation of DW_apb_i2c. The lower byte must be programmed first, and then the upper byte is programmed. 0 16 read-write IC_STATUS I2C Status Register This is a read-only register used to indicate the current transfer status and FIFO status. The status register may be read at any time. None of the bits in this register request an interrupt. When the I2C is disabled by writing 0 in bit 0 of the IC_ENABLE register: - Bits 1 and 2 are set to 1 - Bits 3 and 10 are set to 0 When the master or slave state machines goes to idle and ic_en=0: - Bits 5 and 6 are set to 0 0x70 32 read-write n 0x6 0x0 ACTIVITY I2C Activity Status. Reset value: 0x0 0 1 read-only INACTIVE I2C is idle 0 ACTIVE I2C is active 1 MST_ACTIVITY Master FSM Activity Status. When the Master Finite State Machine (FSM) is not in the IDLE state, this bit is set. - 0: Master FSM is in IDLE state so the Master part of DW_apb_i2c is not Active - 1: Master FSM is not in IDLE state so the Master part of DW_apb_i2c is Active Note: IC_STATUS[0]-that is, ACTIVITY bit-is the OR of SLV_ACTIVITY and MST_ACTIVITY bits. Reset value: 0x0 5 1 read-only IDLE Master is idle 0 ACTIVE Master not idle 1 RFF Receive FIFO Completely Full. When the receive FIFO is completely full, this bit is set. When the receive FIFO contains one or more empty location, this bit is cleared. - 0: Receive FIFO is not full - 1: Receive FIFO is full Reset value: 0x0 4 1 read-only NOT_FULL Rx FIFO not full 0 FULL Rx FIFO is full 1 RFNE Receive FIFO Not Empty. This bit is set when the receive FIFO contains one or more entries it is cleared when the receive FIFO is empty. - 0: Receive FIFO is empty - 1: Receive FIFO is not empty Reset value: 0x0 3 1 read-only EMPTY Rx FIFO is empty 0 NOT_EMPTY Rx FIFO not empty 1 SLV_ACTIVITY Slave FSM Activity Status. When the Slave Finite State Machine (FSM) is not in the IDLE state, this bit is set. - 0: Slave FSM is in IDLE state so the Slave part of DW_apb_i2c is not Active - 1: Slave FSM is not in IDLE state so the Slave part of DW_apb_i2c is Active Reset value: 0x0 6 1 read-only IDLE Slave is idle 0 ACTIVE Slave not idle 1 TFE Transmit FIFO Completely Empty. When the transmit FIFO is completely empty, this bit is set. When it contains one or more valid entries, this bit is cleared. This bit field does not request an interrupt. - 0: Transmit FIFO is not empty - 1: Transmit FIFO is empty Reset value: 0x1 2 1 read-only NON_EMPTY Tx FIFO not empty 0 EMPTY Tx FIFO is empty 1 TFNF Transmit FIFO Not Full. Set when the transmit FIFO contains one or more empty locations, and is cleared when the FIFO is full. - 0: Transmit FIFO is full - 1: Transmit FIFO is not full Reset value: 0x1 1 1 read-only FULL Tx FIFO is full 0 NOT_FULL Tx FIFO not full 1 IC_TAR I2C Target Address Register This register is 12 bits wide, and bits 31:12 are reserved. This register can be written to only when IC_ENABLE[0] is set to 0. Note: If the software or application is aware that the DW_apb_i2c is not using the TAR address for the pending commands in the Tx FIFO, then it is possible to update the TAR address even while the Tx FIFO has entries (IC_STATUS[2]= 0). - It is not necessary to perform any write to this register if DW_apb_i2c is enabled as an I2C slave only. 0x4 32 read-write n 0x55 0x0 GC_OR_START If bit 11 (SPECIAL) is set to 1 and bit 13(Device-ID) is set to 0, then this bit indicates whether a General Call or START byte command is to be performed by the DW_apb_i2c. - 0: General Call Address - after issuing a General Call, only writes may be performed. Attempting to issue a read command results in setting bit 6 (TX_ABRT) of the IC_RAW_INTR_STAT register. The DW_apb_i2c remains in General Call mode until the SPECIAL bit value (bit 11) is cleared. - 1: START BYTE Reset value: 0x0 10 1 read-write GENERAL_CALL GENERAL_CALL byte transmission 0 START_BYTE START byte transmission 1 IC_TAR This is the target address for any master transaction. When transmitting a General Call, these bits are ignored. To generate a START BYTE, the CPU needs to write only once into these bits. If the IC_TAR and IC_SAR are the same, loopback exists but the FIFOs are shared between master and slave, so full loopback is not feasible. Only one direction loopback mode is supported (simplex), not duplex. A master cannot transmit to itself it can transmit to only a slave. 0 10 read-write SPECIAL This bit indicates whether software performs a Device-ID or General Call or START BYTE command. - 0: ignore bit 10 GC_OR_START and use IC_TAR normally - 1: perform special I2C command as specified in Device_ID or GC_OR_START bit Reset value: 0x0 11 1 read-write DISABLED Disables programming of GENERAL_CALL or START_BYTE transmission 0 ENABLED Enables programming of GENERAL_CALL or START_BYTE transmission 1 IC_TXFLR I2C Transmit FIFO Level Register This register contains the number of valid data entries in the transmit FIFO buffer. It is cleared whenever: - The I2C is disabled - There is a transmit abort - that is, TX_ABRT bit is set in the IC_RAW_INTR_STAT register - The slave bulk transmit mode is aborted The register increments whenever data is placed into the transmit FIFO and decrements when data is taken from the transmit FIFO. 0x74 32 read-write n 0x0 0x0 TXFLR Transmit FIFO Level. Contains the number of valid data entries in the transmit FIFO. Reset value: 0x0 0 5 read-only IC_TX_ABRT_SOURCE I2C Transmit Abort Source Register This register has 32 bits that indicate the source of the TX_ABRT bit. Except for Bit 9, this register is cleared whenever the IC_CLR_TX_ABRT register or the IC_CLR_INTR register is read. To clear Bit 9, the source of the ABRT_SBYTE_NORSTRT must be fixed first RESTART must be enabled (IC_CON[5]=1), the SPECIAL bit must be cleared (IC_TAR[11]), or the GC_OR_START bit must be cleared (IC_TAR[10]). Once the source of the ABRT_SBYTE_NORSTRT is fixed, then this bit can be cleared in the same manner as other bits in this register. If the source of the ABRT_SBYTE_NORSTRT is not fixed before attempting to clear this bit, Bit 9 clears for one cycle and is then re-asserted. 0x80 32 read-write n 0x0 0x0 ABRT_10ADDR1_NOACK This field indicates that the Master is in 10-bit address mode and the first 10-bit address byte was not acknowledged by any slave. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 1 1 read-only INACTIVE This abort is not generated 0 ACTIVE Byte 1 of 10Bit Address not ACKed by any slave 1 ABRT_10ADDR2_NOACK This field indicates that the Master is in 10-bit address mode and that the second address byte of the 10-bit address was not acknowledged by any slave. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 2 1 read-only INACTIVE This abort is not generated 0 ACTIVE Byte 2 of 10Bit Address not ACKed by any slave 1 ABRT_10B_RD_NORSTRT This field indicates that the restart is disabled (IC_RESTART_EN bit (IC_CON[5]) =0) and the master sends a read command in 10-bit addressing mode. Reset value: 0x0 Role of DW_apb_i2c: Master-Receiver 10 1 read-only ABRT_10B_RD_VOID Master not trying to read in 10Bit addressing mode when RESTART disabled 0 ABRT_10B_RD_GENERATED Master trying to read in 10Bit addressing mode when RESTART disabled 1 ABRT_7B_ADDR_NOACK This field indicates that the Master is in 7-bit addressing mode and the address sent was not acknowledged by any slave. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 0 1 read-only INACTIVE This abort is not generated 0 ACTIVE This abort is generated because of NOACK for 7-bit address 1 ABRT_GCALL_NOACK This field indicates that DW_apb_i2c in master mode has sent a General Call and no slave on the bus acknowledged the General Call. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter 4 1 read-only ABRT_GCALL_NOACK_VOID GCALL not ACKed by any slave-scenario not present 0 ABRT_GCALL_NOACK_GENERATED GCALL not ACKed by any slave 1 ABRT_GCALL_READ This field indicates that DW_apb_i2c in the master mode has sent a General Call but the user programmed the byte following the General Call to be a read from the bus (IC_DATA_CMD[9] is set to 1). Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter 5 1 read-only ABRT_GCALL_READ_VOID GCALL is followed by read from bus-scenario not present 0 ABRT_GCALL_READ_GENERATED GCALL is followed by read from bus 1 ABRT_HS_ACKDET This field indicates that the Master is in High Speed mode and the High Speed Master code was acknowledged (wrong behavior). Reset value: 0x0 Role of DW_apb_i2c: Master 6 1 read-only ABRT_HS_ACK_VOID HS Master code ACKed in HS Mode- scenario not present 0 ABRT_HS_ACK_GENERATED HS Master code ACKed in HS Mode 1 ABRT_HS_NORSTRT This field indicates that the restart is disabled (IC_RESTART_EN bit (IC_CON[5]) =0) and the user is trying to use the master to transfer data in High Speed mode. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 8 1 read-only ABRT_HS_NORSTRT_VOID User trying to switch Master to HS mode when RESTART disabled- scenario not present 0 ABRT_HS_NORSTRT_GENERATED User trying to switch Master to HS mode when RESTART disabled 1 ABRT_MASTER_DIS This field indicates that the User tries to initiate a Master operation with the Master mode disabled. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Master-Receiver 11 1 read-only ABRT_MASTER_DIS_VOID User initiating master operation when MASTER disabled- scenario not present 0 ABRT_MASTER_DIS_GENERATED User initiating master operation when MASTER disabled 1 ABRT_SBYTE_ACKDET This field indicates that the Master has sent a START Byte and the START Byte was acknowledged (wrong behavior). Reset value: 0x0 Role of DW_apb_i2c: Master 7 1 read-only ABRT_SBYTE_ACKDET_VOID ACK detected for START byte- scenario not present 0 ABRT_SBYTE_ACKDET_GENERATED ACK detected for START byte 1 ABRT_SBYTE_NORSTRT To clear Bit 9, the source of the ABRT_SBYTE_NORSTRT must be fixed first restart must be enabled (IC_CON[5]=1), the SPECIAL bit must be cleared (IC_TAR[11]), or the GC_OR_START bit must be cleared (IC_TAR[10]). Once the source of the ABRT_SBYTE_NORSTRT is fixed, then this bit can be cleared in the same manner as other bits in this register. If the source of the ABRT_SBYTE_NORSTRT is not fixed before attempting to clear this bit, bit 9 clears for one cycle and then gets reasserted. When this field is set to 1, the restart is disabled (IC_RESTART_EN bit (IC_CON[5]) =0) and the user is trying to send a START Byte. Reset value: 0x0 Role of DW_apb_i2c: Master 9 1 read-only ABRT_SBYTE_NORSTRT_VOID User trying to send START byte when RESTART disabled- scenario not present 0 ABRT_SBYTE_NORSTRT_GENERATED User trying to send START byte when RESTART disabled 1 ABRT_SLVFLUSH_TXFIFO This field specifies that the Slave has received a read command and some data exists in the TX FIFO, so the slave issues a TX_ABRT interrupt to flush old data in TX FIFO. Reset value: 0x0 Role of DW_apb_i2c: Slave-Transmitter 13 1 read-only ABRT_SLVFLUSH_TXFIFO_VOID Slave flushes existing data in TX-FIFO upon getting read command- scenario not present 0 ABRT_SLVFLUSH_TXFIFO_GENERATED Slave flushes existing data in TX-FIFO upon getting read command 1 ABRT_SLVRD_INTX 1: When the processor side responds to a slave mode request for data to be transmitted to a remote master and user writes a 1 in CMD (bit 8) of IC_DATA_CMD register. Reset value: 0x0 Role of DW_apb_i2c: Slave-Transmitter 15 1 read-only ABRT_SLVRD_INTX_VOID Slave trying to transmit to remote master in read mode- scenario not present 0 ABRT_SLVRD_INTX_GENERATED Slave trying to transmit to remote master in read mode 1 ABRT_SLV_ARBLOST This field indicates that a Slave has lost the bus while transmitting data to a remote master. IC_TX_ABRT_SOURCE[12] is set at the same time. Note: Even though the slave never 'owns' the bus, something could go wrong on the bus. This is a fail safe check. For instance, during a data transmission at the low-to-high transition of SCL, if what is on the data bus is not what is supposed to be transmitted, then DW_apb_i2c no longer own the bus. Reset value: 0x0 Role of DW_apb_i2c: Slave-Transmitter 14 1 read-only ABRT_SLV_ARBLOST_VOID Slave lost arbitration to remote master- scenario not present 0 ABRT_SLV_ARBLOST_GENERATED Slave lost arbitration to remote master 1 ABRT_TXDATA_NOACK This field indicates the master-mode only bit. When the master receives an acknowledgement for the address, but when it sends data byte(s) following the address, it did not receive an acknowledge from the remote slave(s). Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter 3 1 read-only ABRT_TXDATA_NOACK_VOID Transmitted data non-ACKed by addressed slave-scenario not present 0 ABRT_TXDATA_NOACK_GENERATED Transmitted data not ACKed by addressed slave 1 ABRT_USER_ABRT This is a master-mode-only bit. Master has detected the transfer abort (IC_ENABLE[1]) Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter 16 1 read-only ABRT_USER_ABRT_VOID Transfer abort detected by master- scenario not present 0 ABRT_USER_ABRT_GENERATED Transfer abort detected by master 1 ARB_LOST This field specifies that the Master has lost arbitration, or if IC_TX_ABRT_SOURCE[14] is also set, then the slave transmitter has lost arbitration. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Slave-Transmitter 12 1 read-only ABRT_LOST_VOID Master or Slave-Transmitter lost arbitration- scenario not present 0 ABRT_LOST_GENERATED Master or Slave-Transmitter lost arbitration 1 TX_FLUSH_CNT This field indicates the number of Tx FIFO Data Commands which are flushed due to TX_ABRT interrupt. It is cleared whenever I2C is disabled. Reset value: 0x0 Role of DW_apb_i2c: Master-Transmitter or Slave-Transmitter 23 9 read-only IC_TX_TL I2C Transmit FIFO Threshold Register 0x3C 32 read-write n 0x0 0x0 TX_TL Transmit FIFO Threshold Level. Controls the level of entries (or below) that trigger the TX_EMPTY interrupt (bit 4 in IC_RAW_INTR_STAT register). The valid range is 0-255, with the additional restriction that it may not be set to value larger than the depth of the buffer. If an attempt is made to do that, the actual value set will be the maximum depth of the buffer. A value of 0 sets the threshold for 0 entries, and a value of 255 sets the threshold for 255 entries. 0 8 read-write IO_BANK0 IO_BANK0 0x40014000 0x0 0x1000 registers n IO_IRQ_BANK0 13 DORMANT_WAKE_INTE0 Interrupt Enable for dormant_wake 0x160 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-write GPIO0_EDGE_LOW 2 1 read-write GPIO0_LEVEL_HIGH 1 1 read-write GPIO0_LEVEL_LOW 0 1 read-write GPIO1_EDGE_HIGH 7 1 read-write GPIO1_EDGE_LOW 6 1 read-write GPIO1_LEVEL_HIGH 5 1 read-write GPIO1_LEVEL_LOW 4 1 read-write GPIO2_EDGE_HIGH 11 1 read-write GPIO2_EDGE_LOW 10 1 read-write GPIO2_LEVEL_HIGH 9 1 read-write GPIO2_LEVEL_LOW 8 1 read-write GPIO3_EDGE_HIGH 15 1 read-write GPIO3_EDGE_LOW 14 1 read-write GPIO3_LEVEL_HIGH 13 1 read-write GPIO3_LEVEL_LOW 12 1 read-write GPIO4_EDGE_HIGH 19 1 read-write GPIO4_EDGE_LOW 18 1 read-write GPIO4_LEVEL_HIGH 17 1 read-write GPIO4_LEVEL_LOW 16 1 read-write GPIO5_EDGE_HIGH 23 1 read-write GPIO5_EDGE_LOW 22 1 read-write GPIO5_LEVEL_HIGH 21 1 read-write GPIO5_LEVEL_LOW 20 1 read-write GPIO6_EDGE_HIGH 27 1 read-write GPIO6_EDGE_LOW 26 1 read-write GPIO6_LEVEL_HIGH 25 1 read-write GPIO6_LEVEL_LOW 24 1 read-write GPIO7_EDGE_HIGH 31 1 read-write GPIO7_EDGE_LOW 30 1 read-write GPIO7_LEVEL_HIGH 29 1 read-write GPIO7_LEVEL_LOW 28 1 read-write DORMANT_WAKE_INTE1 Interrupt Enable for dormant_wake 0x164 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-write GPIO10_EDGE_LOW 10 1 read-write GPIO10_LEVEL_HIGH 9 1 read-write GPIO10_LEVEL_LOW 8 1 read-write GPIO11_EDGE_HIGH 15 1 read-write GPIO11_EDGE_LOW 14 1 read-write GPIO11_LEVEL_HIGH 13 1 read-write GPIO11_LEVEL_LOW 12 1 read-write GPIO12_EDGE_HIGH 19 1 read-write GPIO12_EDGE_LOW 18 1 read-write GPIO12_LEVEL_HIGH 17 1 read-write GPIO12_LEVEL_LOW 16 1 read-write GPIO13_EDGE_HIGH 23 1 read-write GPIO13_EDGE_LOW 22 1 read-write GPIO13_LEVEL_HIGH 21 1 read-write GPIO13_LEVEL_LOW 20 1 read-write GPIO14_EDGE_HIGH 27 1 read-write GPIO14_EDGE_LOW 26 1 read-write GPIO14_LEVEL_HIGH 25 1 read-write GPIO14_LEVEL_LOW 24 1 read-write GPIO15_EDGE_HIGH 31 1 read-write GPIO15_EDGE_LOW 30 1 read-write GPIO15_LEVEL_HIGH 29 1 read-write GPIO15_LEVEL_LOW 28 1 read-write GPIO8_EDGE_HIGH 3 1 read-write GPIO8_EDGE_LOW 2 1 read-write GPIO8_LEVEL_HIGH 1 1 read-write GPIO8_LEVEL_LOW 0 1 read-write GPIO9_EDGE_HIGH 7 1 read-write GPIO9_EDGE_LOW 6 1 read-write GPIO9_LEVEL_HIGH 5 1 read-write GPIO9_LEVEL_LOW 4 1 read-write DORMANT_WAKE_INTE2 Interrupt Enable for dormant_wake 0x168 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-write GPIO16_EDGE_LOW 2 1 read-write GPIO16_LEVEL_HIGH 1 1 read-write GPIO16_LEVEL_LOW 0 1 read-write GPIO17_EDGE_HIGH 7 1 read-write GPIO17_EDGE_LOW 6 1 read-write GPIO17_LEVEL_HIGH 5 1 read-write GPIO17_LEVEL_LOW 4 1 read-write GPIO18_EDGE_HIGH 11 1 read-write GPIO18_EDGE_LOW 10 1 read-write GPIO18_LEVEL_HIGH 9 1 read-write GPIO18_LEVEL_LOW 8 1 read-write GPIO19_EDGE_HIGH 15 1 read-write GPIO19_EDGE_LOW 14 1 read-write GPIO19_LEVEL_HIGH 13 1 read-write GPIO19_LEVEL_LOW 12 1 read-write GPIO20_EDGE_HIGH 19 1 read-write GPIO20_EDGE_LOW 18 1 read-write GPIO20_LEVEL_HIGH 17 1 read-write GPIO20_LEVEL_LOW 16 1 read-write GPIO21_EDGE_HIGH 23 1 read-write GPIO21_EDGE_LOW 22 1 read-write GPIO21_LEVEL_HIGH 21 1 read-write GPIO21_LEVEL_LOW 20 1 read-write GPIO22_EDGE_HIGH 27 1 read-write GPIO22_EDGE_LOW 26 1 read-write GPIO22_LEVEL_HIGH 25 1 read-write GPIO22_LEVEL_LOW 24 1 read-write GPIO23_EDGE_HIGH 31 1 read-write GPIO23_EDGE_LOW 30 1 read-write GPIO23_LEVEL_HIGH 29 1 read-write GPIO23_LEVEL_LOW 28 1 read-write DORMANT_WAKE_INTE3 Interrupt Enable for dormant_wake 0x16C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-write GPIO24_EDGE_LOW 2 1 read-write GPIO24_LEVEL_HIGH 1 1 read-write GPIO24_LEVEL_LOW 0 1 read-write GPIO25_EDGE_HIGH 7 1 read-write GPIO25_EDGE_LOW 6 1 read-write GPIO25_LEVEL_HIGH 5 1 read-write GPIO25_LEVEL_LOW 4 1 read-write GPIO26_EDGE_HIGH 11 1 read-write GPIO26_EDGE_LOW 10 1 read-write GPIO26_LEVEL_HIGH 9 1 read-write GPIO26_LEVEL_LOW 8 1 read-write GPIO27_EDGE_HIGH 15 1 read-write GPIO27_EDGE_LOW 14 1 read-write GPIO27_LEVEL_HIGH 13 1 read-write GPIO27_LEVEL_LOW 12 1 read-write GPIO28_EDGE_HIGH 19 1 read-write GPIO28_EDGE_LOW 18 1 read-write GPIO28_LEVEL_HIGH 17 1 read-write GPIO28_LEVEL_LOW 16 1 read-write GPIO29_EDGE_HIGH 23 1 read-write GPIO29_EDGE_LOW 22 1 read-write GPIO29_LEVEL_HIGH 21 1 read-write GPIO29_LEVEL_LOW 20 1 read-write DORMANT_WAKE_INTF0 Interrupt Force for dormant_wake 0x170 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-write GPIO0_EDGE_LOW 2 1 read-write GPIO0_LEVEL_HIGH 1 1 read-write GPIO0_LEVEL_LOW 0 1 read-write GPIO1_EDGE_HIGH 7 1 read-write GPIO1_EDGE_LOW 6 1 read-write GPIO1_LEVEL_HIGH 5 1 read-write GPIO1_LEVEL_LOW 4 1 read-write GPIO2_EDGE_HIGH 11 1 read-write GPIO2_EDGE_LOW 10 1 read-write GPIO2_LEVEL_HIGH 9 1 read-write GPIO2_LEVEL_LOW 8 1 read-write GPIO3_EDGE_HIGH 15 1 read-write GPIO3_EDGE_LOW 14 1 read-write GPIO3_LEVEL_HIGH 13 1 read-write GPIO3_LEVEL_LOW 12 1 read-write GPIO4_EDGE_HIGH 19 1 read-write GPIO4_EDGE_LOW 18 1 read-write GPIO4_LEVEL_HIGH 17 1 read-write GPIO4_LEVEL_LOW 16 1 read-write GPIO5_EDGE_HIGH 23 1 read-write GPIO5_EDGE_LOW 22 1 read-write GPIO5_LEVEL_HIGH 21 1 read-write GPIO5_LEVEL_LOW 20 1 read-write GPIO6_EDGE_HIGH 27 1 read-write GPIO6_EDGE_LOW 26 1 read-write GPIO6_LEVEL_HIGH 25 1 read-write GPIO6_LEVEL_LOW 24 1 read-write GPIO7_EDGE_HIGH 31 1 read-write GPIO7_EDGE_LOW 30 1 read-write GPIO7_LEVEL_HIGH 29 1 read-write GPIO7_LEVEL_LOW 28 1 read-write DORMANT_WAKE_INTF1 Interrupt Force for dormant_wake 0x174 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-write GPIO10_EDGE_LOW 10 1 read-write GPIO10_LEVEL_HIGH 9 1 read-write GPIO10_LEVEL_LOW 8 1 read-write GPIO11_EDGE_HIGH 15 1 read-write GPIO11_EDGE_LOW 14 1 read-write GPIO11_LEVEL_HIGH 13 1 read-write GPIO11_LEVEL_LOW 12 1 read-write GPIO12_EDGE_HIGH 19 1 read-write GPIO12_EDGE_LOW 18 1 read-write GPIO12_LEVEL_HIGH 17 1 read-write GPIO12_LEVEL_LOW 16 1 read-write GPIO13_EDGE_HIGH 23 1 read-write GPIO13_EDGE_LOW 22 1 read-write GPIO13_LEVEL_HIGH 21 1 read-write GPIO13_LEVEL_LOW 20 1 read-write GPIO14_EDGE_HIGH 27 1 read-write GPIO14_EDGE_LOW 26 1 read-write GPIO14_LEVEL_HIGH 25 1 read-write GPIO14_LEVEL_LOW 24 1 read-write GPIO15_EDGE_HIGH 31 1 read-write GPIO15_EDGE_LOW 30 1 read-write GPIO15_LEVEL_HIGH 29 1 read-write GPIO15_LEVEL_LOW 28 1 read-write GPIO8_EDGE_HIGH 3 1 read-write GPIO8_EDGE_LOW 2 1 read-write GPIO8_LEVEL_HIGH 1 1 read-write GPIO8_LEVEL_LOW 0 1 read-write GPIO9_EDGE_HIGH 7 1 read-write GPIO9_EDGE_LOW 6 1 read-write GPIO9_LEVEL_HIGH 5 1 read-write GPIO9_LEVEL_LOW 4 1 read-write DORMANT_WAKE_INTF2 Interrupt Force for dormant_wake 0x178 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-write GPIO16_EDGE_LOW 2 1 read-write GPIO16_LEVEL_HIGH 1 1 read-write GPIO16_LEVEL_LOW 0 1 read-write GPIO17_EDGE_HIGH 7 1 read-write GPIO17_EDGE_LOW 6 1 read-write GPIO17_LEVEL_HIGH 5 1 read-write GPIO17_LEVEL_LOW 4 1 read-write GPIO18_EDGE_HIGH 11 1 read-write GPIO18_EDGE_LOW 10 1 read-write GPIO18_LEVEL_HIGH 9 1 read-write GPIO18_LEVEL_LOW 8 1 read-write GPIO19_EDGE_HIGH 15 1 read-write GPIO19_EDGE_LOW 14 1 read-write GPIO19_LEVEL_HIGH 13 1 read-write GPIO19_LEVEL_LOW 12 1 read-write GPIO20_EDGE_HIGH 19 1 read-write GPIO20_EDGE_LOW 18 1 read-write GPIO20_LEVEL_HIGH 17 1 read-write GPIO20_LEVEL_LOW 16 1 read-write GPIO21_EDGE_HIGH 23 1 read-write GPIO21_EDGE_LOW 22 1 read-write GPIO21_LEVEL_HIGH 21 1 read-write GPIO21_LEVEL_LOW 20 1 read-write GPIO22_EDGE_HIGH 27 1 read-write GPIO22_EDGE_LOW 26 1 read-write GPIO22_LEVEL_HIGH 25 1 read-write GPIO22_LEVEL_LOW 24 1 read-write GPIO23_EDGE_HIGH 31 1 read-write GPIO23_EDGE_LOW 30 1 read-write GPIO23_LEVEL_HIGH 29 1 read-write GPIO23_LEVEL_LOW 28 1 read-write DORMANT_WAKE_INTF3 Interrupt Force for dormant_wake 0x17C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-write GPIO24_EDGE_LOW 2 1 read-write GPIO24_LEVEL_HIGH 1 1 read-write GPIO24_LEVEL_LOW 0 1 read-write GPIO25_EDGE_HIGH 7 1 read-write GPIO25_EDGE_LOW 6 1 read-write GPIO25_LEVEL_HIGH 5 1 read-write GPIO25_LEVEL_LOW 4 1 read-write GPIO26_EDGE_HIGH 11 1 read-write GPIO26_EDGE_LOW 10 1 read-write GPIO26_LEVEL_HIGH 9 1 read-write GPIO26_LEVEL_LOW 8 1 read-write GPIO27_EDGE_HIGH 15 1 read-write GPIO27_EDGE_LOW 14 1 read-write GPIO27_LEVEL_HIGH 13 1 read-write GPIO27_LEVEL_LOW 12 1 read-write GPIO28_EDGE_HIGH 19 1 read-write GPIO28_EDGE_LOW 18 1 read-write GPIO28_LEVEL_HIGH 17 1 read-write GPIO28_LEVEL_LOW 16 1 read-write GPIO29_EDGE_HIGH 23 1 read-write GPIO29_EDGE_LOW 22 1 read-write GPIO29_LEVEL_HIGH 21 1 read-write GPIO29_LEVEL_LOW 20 1 read-write DORMANT_WAKE_INTS0 Interrupt status after masking & forcing for dormant_wake 0x180 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-only GPIO0_EDGE_LOW 2 1 read-only GPIO0_LEVEL_HIGH 1 1 read-only GPIO0_LEVEL_LOW 0 1 read-only GPIO1_EDGE_HIGH 7 1 read-only GPIO1_EDGE_LOW 6 1 read-only GPIO1_LEVEL_HIGH 5 1 read-only GPIO1_LEVEL_LOW 4 1 read-only GPIO2_EDGE_HIGH 11 1 read-only GPIO2_EDGE_LOW 10 1 read-only GPIO2_LEVEL_HIGH 9 1 read-only GPIO2_LEVEL_LOW 8 1 read-only GPIO3_EDGE_HIGH 15 1 read-only GPIO3_EDGE_LOW 14 1 read-only GPIO3_LEVEL_HIGH 13 1 read-only GPIO3_LEVEL_LOW 12 1 read-only GPIO4_EDGE_HIGH 19 1 read-only GPIO4_EDGE_LOW 18 1 read-only GPIO4_LEVEL_HIGH 17 1 read-only GPIO4_LEVEL_LOW 16 1 read-only GPIO5_EDGE_HIGH 23 1 read-only GPIO5_EDGE_LOW 22 1 read-only GPIO5_LEVEL_HIGH 21 1 read-only GPIO5_LEVEL_LOW 20 1 read-only GPIO6_EDGE_HIGH 27 1 read-only GPIO6_EDGE_LOW 26 1 read-only GPIO6_LEVEL_HIGH 25 1 read-only GPIO6_LEVEL_LOW 24 1 read-only GPIO7_EDGE_HIGH 31 1 read-only GPIO7_EDGE_LOW 30 1 read-only GPIO7_LEVEL_HIGH 29 1 read-only GPIO7_LEVEL_LOW 28 1 read-only DORMANT_WAKE_INTS1 Interrupt status after masking & forcing for dormant_wake 0x184 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-only GPIO10_EDGE_LOW 10 1 read-only GPIO10_LEVEL_HIGH 9 1 read-only GPIO10_LEVEL_LOW 8 1 read-only GPIO11_EDGE_HIGH 15 1 read-only GPIO11_EDGE_LOW 14 1 read-only GPIO11_LEVEL_HIGH 13 1 read-only GPIO11_LEVEL_LOW 12 1 read-only GPIO12_EDGE_HIGH 19 1 read-only GPIO12_EDGE_LOW 18 1 read-only GPIO12_LEVEL_HIGH 17 1 read-only GPIO12_LEVEL_LOW 16 1 read-only GPIO13_EDGE_HIGH 23 1 read-only GPIO13_EDGE_LOW 22 1 read-only GPIO13_LEVEL_HIGH 21 1 read-only GPIO13_LEVEL_LOW 20 1 read-only GPIO14_EDGE_HIGH 27 1 read-only GPIO14_EDGE_LOW 26 1 read-only GPIO14_LEVEL_HIGH 25 1 read-only GPIO14_LEVEL_LOW 24 1 read-only GPIO15_EDGE_HIGH 31 1 read-only GPIO15_EDGE_LOW 30 1 read-only GPIO15_LEVEL_HIGH 29 1 read-only GPIO15_LEVEL_LOW 28 1 read-only GPIO8_EDGE_HIGH 3 1 read-only GPIO8_EDGE_LOW 2 1 read-only GPIO8_LEVEL_HIGH 1 1 read-only GPIO8_LEVEL_LOW 0 1 read-only GPIO9_EDGE_HIGH 7 1 read-only GPIO9_EDGE_LOW 6 1 read-only GPIO9_LEVEL_HIGH 5 1 read-only GPIO9_LEVEL_LOW 4 1 read-only DORMANT_WAKE_INTS2 Interrupt status after masking & forcing for dormant_wake 0x188 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-only GPIO16_EDGE_LOW 2 1 read-only GPIO16_LEVEL_HIGH 1 1 read-only GPIO16_LEVEL_LOW 0 1 read-only GPIO17_EDGE_HIGH 7 1 read-only GPIO17_EDGE_LOW 6 1 read-only GPIO17_LEVEL_HIGH 5 1 read-only GPIO17_LEVEL_LOW 4 1 read-only GPIO18_EDGE_HIGH 11 1 read-only GPIO18_EDGE_LOW 10 1 read-only GPIO18_LEVEL_HIGH 9 1 read-only GPIO18_LEVEL_LOW 8 1 read-only GPIO19_EDGE_HIGH 15 1 read-only GPIO19_EDGE_LOW 14 1 read-only GPIO19_LEVEL_HIGH 13 1 read-only GPIO19_LEVEL_LOW 12 1 read-only GPIO20_EDGE_HIGH 19 1 read-only GPIO20_EDGE_LOW 18 1 read-only GPIO20_LEVEL_HIGH 17 1 read-only GPIO20_LEVEL_LOW 16 1 read-only GPIO21_EDGE_HIGH 23 1 read-only GPIO21_EDGE_LOW 22 1 read-only GPIO21_LEVEL_HIGH 21 1 read-only GPIO21_LEVEL_LOW 20 1 read-only GPIO22_EDGE_HIGH 27 1 read-only GPIO22_EDGE_LOW 26 1 read-only GPIO22_LEVEL_HIGH 25 1 read-only GPIO22_LEVEL_LOW 24 1 read-only GPIO23_EDGE_HIGH 31 1 read-only GPIO23_EDGE_LOW 30 1 read-only GPIO23_LEVEL_HIGH 29 1 read-only GPIO23_LEVEL_LOW 28 1 read-only DORMANT_WAKE_INTS3 Interrupt status after masking & forcing for dormant_wake 0x18C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-only GPIO24_EDGE_LOW 2 1 read-only GPIO24_LEVEL_HIGH 1 1 read-only GPIO24_LEVEL_LOW 0 1 read-only GPIO25_EDGE_HIGH 7 1 read-only GPIO25_EDGE_LOW 6 1 read-only GPIO25_LEVEL_HIGH 5 1 read-only GPIO25_LEVEL_LOW 4 1 read-only GPIO26_EDGE_HIGH 11 1 read-only GPIO26_EDGE_LOW 10 1 read-only GPIO26_LEVEL_HIGH 9 1 read-only GPIO26_LEVEL_LOW 8 1 read-only GPIO27_EDGE_HIGH 15 1 read-only GPIO27_EDGE_LOW 14 1 read-only GPIO27_LEVEL_HIGH 13 1 read-only GPIO27_LEVEL_LOW 12 1 read-only GPIO28_EDGE_HIGH 19 1 read-only GPIO28_EDGE_LOW 18 1 read-only GPIO28_LEVEL_HIGH 17 1 read-only GPIO28_LEVEL_LOW 16 1 read-only GPIO29_EDGE_HIGH 23 1 read-only GPIO29_EDGE_LOW 22 1 read-only GPIO29_LEVEL_HIGH 21 1 read-only GPIO29_LEVEL_LOW 20 1 read-only GPIO0_CTRL GPIO control including function select and overrides. 0x4 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write jtag_tck None 0 spi0_rx None 1 uart0_tx None 2 i2c0_sda None 3 null None 31 pwm_a_0 None 4 sio_0 None 5 pio0_0 None 6 pio1_0 None 7 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO0_STATUS GPIO status 0x0 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO10_CTRL GPIO control including function select and overrides. 0x54 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_sclk None 1 uart1_cts None 2 i2c1_sda None 3 null None 31 pwm_a_5 None 4 sio_10 None 5 pio0_10 None 6 pio1_10 None 7 usb_muxing_extphy_vm None 8 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO10_STATUS GPIO status 0x50 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO11_CTRL GPIO control including function select and overrides. 0x5C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_tx None 1 uart1_rts None 2 i2c1_scl None 3 null None 31 pwm_b_5 None 4 sio_11 None 5 pio0_11 None 6 pio1_11 None 7 usb_muxing_extphy_suspnd None 8 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO11_STATUS GPIO status 0x58 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO12_CTRL GPIO control including function select and overrides. 0x64 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_rx None 1 uart0_tx None 2 i2c0_sda None 3 null None 31 pwm_a_6 None 4 sio_12 None 5 pio0_12 None 6 pio1_12 None 7 usb_muxing_extphy_speed None 8 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO12_STATUS GPIO status 0x60 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO13_CTRL GPIO control including function select and overrides. 0x6C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_ss_n None 1 uart0_rx None 2 i2c0_scl None 3 null None 31 pwm_b_6 None 4 sio_13 None 5 pio0_13 None 6 pio1_13 None 7 usb_muxing_extphy_vpo None 8 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO13_STATUS GPIO status 0x68 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO14_CTRL GPIO control including function select and overrides. 0x74 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_sclk None 1 uart0_cts None 2 i2c1_sda None 3 null None 31 pwm_a_7 None 4 sio_14 None 5 pio0_14 None 6 pio1_14 None 7 usb_muxing_extphy_vmo None 8 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO14_STATUS GPIO status 0x70 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO15_CTRL GPIO control including function select and overrides. 0x7C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_tx None 1 uart0_rts None 2 i2c1_scl None 3 null None 31 pwm_b_7 None 4 sio_15 None 5 pio0_15 None 6 pio1_15 None 7 usb_muxing_digital_dp None 8 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO15_STATUS GPIO status 0x78 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO16_CTRL GPIO control including function select and overrides. 0x84 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_rx None 1 uart0_tx None 2 i2c0_sda None 3 null None 31 pwm_a_0 None 4 sio_16 None 5 pio0_16 None 6 pio1_16 None 7 usb_muxing_digital_dm None 8 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO16_STATUS GPIO status 0x80 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO17_CTRL GPIO control including function select and overrides. 0x8C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_ss_n None 1 uart0_rx None 2 i2c0_scl None 3 null None 31 pwm_b_0 None 4 sio_17 None 5 pio0_17 None 6 pio1_17 None 7 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO17_STATUS GPIO status 0x88 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO18_CTRL GPIO control including function select and overrides. 0x94 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_sclk None 1 uart0_cts None 2 i2c1_sda None 3 null None 31 pwm_a_1 None 4 sio_18 None 5 pio0_18 None 6 pio1_18 None 7 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO18_STATUS GPIO status 0x90 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO19_CTRL GPIO control including function select and overrides. 0x9C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_tx None 1 uart0_rts None 2 i2c1_scl None 3 null None 31 pwm_b_1 None 4 sio_19 None 5 pio0_19 None 6 pio1_19 None 7 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO19_STATUS GPIO status 0x98 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO1_CTRL GPIO control including function select and overrides. 0xC 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write jtag_tms None 0 spi0_ss_n None 1 uart0_rx None 2 i2c0_scl None 3 null None 31 pwm_b_0 None 4 sio_1 None 5 pio0_1 None 6 pio1_1 None 7 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO1_STATUS GPIO status 0x8 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO20_CTRL GPIO control including function select and overrides. 0xA4 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_rx None 1 uart1_tx None 2 i2c0_sda None 3 null None 31 pwm_a_2 None 4 sio_20 None 5 pio0_20 None 6 pio1_20 None 7 clocks_gpin_0 None 8 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO20_STATUS GPIO status 0xA0 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO21_CTRL GPIO control including function select and overrides. 0xAC 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_ss_n None 1 uart1_rx None 2 i2c0_scl None 3 null None 31 pwm_b_2 None 4 sio_21 None 5 pio0_21 None 6 pio1_21 None 7 clocks_gpout_0 None 8 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO21_STATUS GPIO status 0xA8 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO22_CTRL GPIO control including function select and overrides. 0xB4 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_sclk None 1 uart1_cts None 2 i2c1_sda None 3 null None 31 pwm_a_3 None 4 sio_22 None 5 pio0_22 None 6 pio1_22 None 7 clocks_gpin_1 None 8 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO22_STATUS GPIO status 0xB0 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO23_CTRL GPIO control including function select and overrides. 0xBC 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_tx None 1 uart1_rts None 2 i2c1_scl None 3 null None 31 pwm_b_3 None 4 sio_23 None 5 pio0_23 None 6 pio1_23 None 7 clocks_gpout_1 None 8 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO23_STATUS GPIO status 0xB8 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO24_CTRL GPIO control including function select and overrides. 0xC4 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_rx None 1 uart1_tx None 2 i2c0_sda None 3 null None 31 pwm_a_4 None 4 sio_24 None 5 pio0_24 None 6 pio1_24 None 7 clocks_gpout_2 None 8 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO24_STATUS GPIO status 0xC0 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO25_CTRL GPIO control including function select and overrides. 0xCC 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_ss_n None 1 uart1_rx None 2 i2c0_scl None 3 null None 31 pwm_b_4 None 4 sio_25 None 5 pio0_25 None 6 pio1_25 None 7 clocks_gpout_3 None 8 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO25_STATUS GPIO status 0xC8 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO26_CTRL GPIO control including function select and overrides. 0xD4 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_sclk None 1 uart1_cts None 2 i2c1_sda None 3 null None 31 pwm_a_5 None 4 sio_26 None 5 pio0_26 None 6 pio1_26 None 7 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO26_STATUS GPIO status 0xD0 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO27_CTRL GPIO control including function select and overrides. 0xDC 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_tx None 1 uart1_rts None 2 i2c1_scl None 3 null None 31 pwm_b_5 None 4 sio_27 None 5 pio0_27 None 6 pio1_27 None 7 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO27_STATUS GPIO status 0xD8 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO28_CTRL GPIO control including function select and overrides. 0xE4 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_rx None 1 uart0_tx None 2 i2c0_sda None 3 null None 31 pwm_a_6 None 4 sio_28 None 5 pio0_28 None 6 pio1_28 None 7 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO28_STATUS GPIO status 0xE0 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO29_CTRL GPIO control including function select and overrides. 0xEC 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_ss_n None 1 uart0_rx None 2 i2c0_scl None 3 null None 31 pwm_b_6 None 4 sio_29 None 5 pio0_29 None 6 pio1_29 None 7 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO29_STATUS GPIO status 0xE8 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO2_CTRL GPIO control including function select and overrides. 0x14 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write jtag_tdi None 0 spi0_sclk None 1 uart0_cts None 2 i2c1_sda None 3 null None 31 pwm_a_1 None 4 sio_2 None 5 pio0_2 None 6 pio1_2 None 7 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO2_STATUS GPIO status 0x10 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO3_CTRL GPIO control including function select and overrides. 0x1C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write jtag_tdo None 0 spi0_tx None 1 uart0_rts None 2 i2c1_scl None 3 null None 31 pwm_b_1 None 4 sio_3 None 5 pio0_3 None 6 pio1_3 None 7 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO3_STATUS GPIO status 0x18 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO4_CTRL GPIO control including function select and overrides. 0x24 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_rx None 1 uart1_tx None 2 i2c0_sda None 3 null None 31 pwm_a_2 None 4 sio_4 None 5 pio0_4 None 6 pio1_4 None 7 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO4_STATUS GPIO status 0x20 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO5_CTRL GPIO control including function select and overrides. 0x2C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_ss_n None 1 uart1_rx None 2 i2c0_scl None 3 null None 31 pwm_b_2 None 4 sio_5 None 5 pio0_5 None 6 pio1_5 None 7 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO5_STATUS GPIO status 0x28 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO6_CTRL GPIO control including function select and overrides. 0x34 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_sclk None 1 uart1_cts None 2 i2c1_sda None 3 null None 31 pwm_a_3 None 4 sio_6 None 5 pio0_6 None 6 pio1_6 None 7 usb_muxing_extphy_softcon None 8 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO6_STATUS GPIO status 0x30 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO7_CTRL GPIO control including function select and overrides. 0x3C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi0_tx None 1 uart1_rts None 2 i2c1_scl None 3 null None 31 pwm_b_3 None 4 sio_7 None 5 pio0_7 None 6 pio1_7 None 7 usb_muxing_extphy_oe_n None 8 usb_muxing_vbus_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO7_STATUS GPIO status 0x38 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO8_CTRL GPIO control including function select and overrides. 0x44 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_rx None 1 uart1_tx None 2 i2c0_sda None 3 null None 31 pwm_a_4 None 4 sio_8 None 5 pio0_8 None 6 pio1_8 None 7 usb_muxing_extphy_rcv None 8 usb_muxing_vbus_en None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO8_STATUS GPIO status 0x40 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO9_CTRL GPIO control including function select and overrides. 0x4C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write spi1_ss_n None 1 uart1_rx None 2 i2c0_scl None 3 null None 31 pwm_b_4 None 4 sio_9 None 5 pio0_9 None 6 pio1_9 None 7 usb_muxing_extphy_vp None 8 usb_muxing_overcurr_detect None 9 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO9_STATUS GPIO status 0x48 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only INTR0 Raw Interrupts 0xF0 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-write oneToClear GPIO0_EDGE_LOW 2 1 read-write oneToClear GPIO0_LEVEL_HIGH 1 1 read-only GPIO0_LEVEL_LOW 0 1 read-only GPIO1_EDGE_HIGH 7 1 read-write oneToClear GPIO1_EDGE_LOW 6 1 read-write oneToClear GPIO1_LEVEL_HIGH 5 1 read-only GPIO1_LEVEL_LOW 4 1 read-only GPIO2_EDGE_HIGH 11 1 read-write oneToClear GPIO2_EDGE_LOW 10 1 read-write oneToClear GPIO2_LEVEL_HIGH 9 1 read-only GPIO2_LEVEL_LOW 8 1 read-only GPIO3_EDGE_HIGH 15 1 read-write oneToClear GPIO3_EDGE_LOW 14 1 read-write oneToClear GPIO3_LEVEL_HIGH 13 1 read-only GPIO3_LEVEL_LOW 12 1 read-only GPIO4_EDGE_HIGH 19 1 read-write oneToClear GPIO4_EDGE_LOW 18 1 read-write oneToClear GPIO4_LEVEL_HIGH 17 1 read-only GPIO4_LEVEL_LOW 16 1 read-only GPIO5_EDGE_HIGH 23 1 read-write oneToClear GPIO5_EDGE_LOW 22 1 read-write oneToClear GPIO5_LEVEL_HIGH 21 1 read-only GPIO5_LEVEL_LOW 20 1 read-only GPIO6_EDGE_HIGH 27 1 read-write oneToClear GPIO6_EDGE_LOW 26 1 read-write oneToClear GPIO6_LEVEL_HIGH 25 1 read-only GPIO6_LEVEL_LOW 24 1 read-only GPIO7_EDGE_HIGH 31 1 read-write oneToClear GPIO7_EDGE_LOW 30 1 read-write oneToClear GPIO7_LEVEL_HIGH 29 1 read-only GPIO7_LEVEL_LOW 28 1 read-only INTR1 Raw Interrupts 0xF4 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-write oneToClear GPIO10_EDGE_LOW 10 1 read-write oneToClear GPIO10_LEVEL_HIGH 9 1 read-only GPIO10_LEVEL_LOW 8 1 read-only GPIO11_EDGE_HIGH 15 1 read-write oneToClear GPIO11_EDGE_LOW 14 1 read-write oneToClear GPIO11_LEVEL_HIGH 13 1 read-only GPIO11_LEVEL_LOW 12 1 read-only GPIO12_EDGE_HIGH 19 1 read-write oneToClear GPIO12_EDGE_LOW 18 1 read-write oneToClear GPIO12_LEVEL_HIGH 17 1 read-only GPIO12_LEVEL_LOW 16 1 read-only GPIO13_EDGE_HIGH 23 1 read-write oneToClear GPIO13_EDGE_LOW 22 1 read-write oneToClear GPIO13_LEVEL_HIGH 21 1 read-only GPIO13_LEVEL_LOW 20 1 read-only GPIO14_EDGE_HIGH 27 1 read-write oneToClear GPIO14_EDGE_LOW 26 1 read-write oneToClear GPIO14_LEVEL_HIGH 25 1 read-only GPIO14_LEVEL_LOW 24 1 read-only GPIO15_EDGE_HIGH 31 1 read-write oneToClear GPIO15_EDGE_LOW 30 1 read-write oneToClear GPIO15_LEVEL_HIGH 29 1 read-only GPIO15_LEVEL_LOW 28 1 read-only GPIO8_EDGE_HIGH 3 1 read-write oneToClear GPIO8_EDGE_LOW 2 1 read-write oneToClear GPIO8_LEVEL_HIGH 1 1 read-only GPIO8_LEVEL_LOW 0 1 read-only GPIO9_EDGE_HIGH 7 1 read-write oneToClear GPIO9_EDGE_LOW 6 1 read-write oneToClear GPIO9_LEVEL_HIGH 5 1 read-only GPIO9_LEVEL_LOW 4 1 read-only INTR2 Raw Interrupts 0xF8 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-write oneToClear GPIO16_EDGE_LOW 2 1 read-write oneToClear GPIO16_LEVEL_HIGH 1 1 read-only GPIO16_LEVEL_LOW 0 1 read-only GPIO17_EDGE_HIGH 7 1 read-write oneToClear GPIO17_EDGE_LOW 6 1 read-write oneToClear GPIO17_LEVEL_HIGH 5 1 read-only GPIO17_LEVEL_LOW 4 1 read-only GPIO18_EDGE_HIGH 11 1 read-write oneToClear GPIO18_EDGE_LOW 10 1 read-write oneToClear GPIO18_LEVEL_HIGH 9 1 read-only GPIO18_LEVEL_LOW 8 1 read-only GPIO19_EDGE_HIGH 15 1 read-write oneToClear GPIO19_EDGE_LOW 14 1 read-write oneToClear GPIO19_LEVEL_HIGH 13 1 read-only GPIO19_LEVEL_LOW 12 1 read-only GPIO20_EDGE_HIGH 19 1 read-write oneToClear GPIO20_EDGE_LOW 18 1 read-write oneToClear GPIO20_LEVEL_HIGH 17 1 read-only GPIO20_LEVEL_LOW 16 1 read-only GPIO21_EDGE_HIGH 23 1 read-write oneToClear GPIO21_EDGE_LOW 22 1 read-write oneToClear GPIO21_LEVEL_HIGH 21 1 read-only GPIO21_LEVEL_LOW 20 1 read-only GPIO22_EDGE_HIGH 27 1 read-write oneToClear GPIO22_EDGE_LOW 26 1 read-write oneToClear GPIO22_LEVEL_HIGH 25 1 read-only GPIO22_LEVEL_LOW 24 1 read-only GPIO23_EDGE_HIGH 31 1 read-write oneToClear GPIO23_EDGE_LOW 30 1 read-write oneToClear GPIO23_LEVEL_HIGH 29 1 read-only GPIO23_LEVEL_LOW 28 1 read-only INTR3 Raw Interrupts 0xFC 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-write oneToClear GPIO24_EDGE_LOW 2 1 read-write oneToClear GPIO24_LEVEL_HIGH 1 1 read-only GPIO24_LEVEL_LOW 0 1 read-only GPIO25_EDGE_HIGH 7 1 read-write oneToClear GPIO25_EDGE_LOW 6 1 read-write oneToClear GPIO25_LEVEL_HIGH 5 1 read-only GPIO25_LEVEL_LOW 4 1 read-only GPIO26_EDGE_HIGH 11 1 read-write oneToClear GPIO26_EDGE_LOW 10 1 read-write oneToClear GPIO26_LEVEL_HIGH 9 1 read-only GPIO26_LEVEL_LOW 8 1 read-only GPIO27_EDGE_HIGH 15 1 read-write oneToClear GPIO27_EDGE_LOW 14 1 read-write oneToClear GPIO27_LEVEL_HIGH 13 1 read-only GPIO27_LEVEL_LOW 12 1 read-only GPIO28_EDGE_HIGH 19 1 read-write oneToClear GPIO28_EDGE_LOW 18 1 read-write oneToClear GPIO28_LEVEL_HIGH 17 1 read-only GPIO28_LEVEL_LOW 16 1 read-only GPIO29_EDGE_HIGH 23 1 read-write oneToClear GPIO29_EDGE_LOW 22 1 read-write oneToClear GPIO29_LEVEL_HIGH 21 1 read-only GPIO29_LEVEL_LOW 20 1 read-only PROC0_INTE0 Interrupt Enable for proc0 0x100 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-write GPIO0_EDGE_LOW 2 1 read-write GPIO0_LEVEL_HIGH 1 1 read-write GPIO0_LEVEL_LOW 0 1 read-write GPIO1_EDGE_HIGH 7 1 read-write GPIO1_EDGE_LOW 6 1 read-write GPIO1_LEVEL_HIGH 5 1 read-write GPIO1_LEVEL_LOW 4 1 read-write GPIO2_EDGE_HIGH 11 1 read-write GPIO2_EDGE_LOW 10 1 read-write GPIO2_LEVEL_HIGH 9 1 read-write GPIO2_LEVEL_LOW 8 1 read-write GPIO3_EDGE_HIGH 15 1 read-write GPIO3_EDGE_LOW 14 1 read-write GPIO3_LEVEL_HIGH 13 1 read-write GPIO3_LEVEL_LOW 12 1 read-write GPIO4_EDGE_HIGH 19 1 read-write GPIO4_EDGE_LOW 18 1 read-write GPIO4_LEVEL_HIGH 17 1 read-write GPIO4_LEVEL_LOW 16 1 read-write GPIO5_EDGE_HIGH 23 1 read-write GPIO5_EDGE_LOW 22 1 read-write GPIO5_LEVEL_HIGH 21 1 read-write GPIO5_LEVEL_LOW 20 1 read-write GPIO6_EDGE_HIGH 27 1 read-write GPIO6_EDGE_LOW 26 1 read-write GPIO6_LEVEL_HIGH 25 1 read-write GPIO6_LEVEL_LOW 24 1 read-write GPIO7_EDGE_HIGH 31 1 read-write GPIO7_EDGE_LOW 30 1 read-write GPIO7_LEVEL_HIGH 29 1 read-write GPIO7_LEVEL_LOW 28 1 read-write PROC0_INTE1 Interrupt Enable for proc0 0x104 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-write GPIO10_EDGE_LOW 10 1 read-write GPIO10_LEVEL_HIGH 9 1 read-write GPIO10_LEVEL_LOW 8 1 read-write GPIO11_EDGE_HIGH 15 1 read-write GPIO11_EDGE_LOW 14 1 read-write GPIO11_LEVEL_HIGH 13 1 read-write GPIO11_LEVEL_LOW 12 1 read-write GPIO12_EDGE_HIGH 19 1 read-write GPIO12_EDGE_LOW 18 1 read-write GPIO12_LEVEL_HIGH 17 1 read-write GPIO12_LEVEL_LOW 16 1 read-write GPIO13_EDGE_HIGH 23 1 read-write GPIO13_EDGE_LOW 22 1 read-write GPIO13_LEVEL_HIGH 21 1 read-write GPIO13_LEVEL_LOW 20 1 read-write GPIO14_EDGE_HIGH 27 1 read-write GPIO14_EDGE_LOW 26 1 read-write GPIO14_LEVEL_HIGH 25 1 read-write GPIO14_LEVEL_LOW 24 1 read-write GPIO15_EDGE_HIGH 31 1 read-write GPIO15_EDGE_LOW 30 1 read-write GPIO15_LEVEL_HIGH 29 1 read-write GPIO15_LEVEL_LOW 28 1 read-write GPIO8_EDGE_HIGH 3 1 read-write GPIO8_EDGE_LOW 2 1 read-write GPIO8_LEVEL_HIGH 1 1 read-write GPIO8_LEVEL_LOW 0 1 read-write GPIO9_EDGE_HIGH 7 1 read-write GPIO9_EDGE_LOW 6 1 read-write GPIO9_LEVEL_HIGH 5 1 read-write GPIO9_LEVEL_LOW 4 1 read-write PROC0_INTE2 Interrupt Enable for proc0 0x108 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-write GPIO16_EDGE_LOW 2 1 read-write GPIO16_LEVEL_HIGH 1 1 read-write GPIO16_LEVEL_LOW 0 1 read-write GPIO17_EDGE_HIGH 7 1 read-write GPIO17_EDGE_LOW 6 1 read-write GPIO17_LEVEL_HIGH 5 1 read-write GPIO17_LEVEL_LOW 4 1 read-write GPIO18_EDGE_HIGH 11 1 read-write GPIO18_EDGE_LOW 10 1 read-write GPIO18_LEVEL_HIGH 9 1 read-write GPIO18_LEVEL_LOW 8 1 read-write GPIO19_EDGE_HIGH 15 1 read-write GPIO19_EDGE_LOW 14 1 read-write GPIO19_LEVEL_HIGH 13 1 read-write GPIO19_LEVEL_LOW 12 1 read-write GPIO20_EDGE_HIGH 19 1 read-write GPIO20_EDGE_LOW 18 1 read-write GPIO20_LEVEL_HIGH 17 1 read-write GPIO20_LEVEL_LOW 16 1 read-write GPIO21_EDGE_HIGH 23 1 read-write GPIO21_EDGE_LOW 22 1 read-write GPIO21_LEVEL_HIGH 21 1 read-write GPIO21_LEVEL_LOW 20 1 read-write GPIO22_EDGE_HIGH 27 1 read-write GPIO22_EDGE_LOW 26 1 read-write GPIO22_LEVEL_HIGH 25 1 read-write GPIO22_LEVEL_LOW 24 1 read-write GPIO23_EDGE_HIGH 31 1 read-write GPIO23_EDGE_LOW 30 1 read-write GPIO23_LEVEL_HIGH 29 1 read-write GPIO23_LEVEL_LOW 28 1 read-write PROC0_INTE3 Interrupt Enable for proc0 0x10C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-write GPIO24_EDGE_LOW 2 1 read-write GPIO24_LEVEL_HIGH 1 1 read-write GPIO24_LEVEL_LOW 0 1 read-write GPIO25_EDGE_HIGH 7 1 read-write GPIO25_EDGE_LOW 6 1 read-write GPIO25_LEVEL_HIGH 5 1 read-write GPIO25_LEVEL_LOW 4 1 read-write GPIO26_EDGE_HIGH 11 1 read-write GPIO26_EDGE_LOW 10 1 read-write GPIO26_LEVEL_HIGH 9 1 read-write GPIO26_LEVEL_LOW 8 1 read-write GPIO27_EDGE_HIGH 15 1 read-write GPIO27_EDGE_LOW 14 1 read-write GPIO27_LEVEL_HIGH 13 1 read-write GPIO27_LEVEL_LOW 12 1 read-write GPIO28_EDGE_HIGH 19 1 read-write GPIO28_EDGE_LOW 18 1 read-write GPIO28_LEVEL_HIGH 17 1 read-write GPIO28_LEVEL_LOW 16 1 read-write GPIO29_EDGE_HIGH 23 1 read-write GPIO29_EDGE_LOW 22 1 read-write GPIO29_LEVEL_HIGH 21 1 read-write GPIO29_LEVEL_LOW 20 1 read-write PROC0_INTF0 Interrupt Force for proc0 0x110 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-write GPIO0_EDGE_LOW 2 1 read-write GPIO0_LEVEL_HIGH 1 1 read-write GPIO0_LEVEL_LOW 0 1 read-write GPIO1_EDGE_HIGH 7 1 read-write GPIO1_EDGE_LOW 6 1 read-write GPIO1_LEVEL_HIGH 5 1 read-write GPIO1_LEVEL_LOW 4 1 read-write GPIO2_EDGE_HIGH 11 1 read-write GPIO2_EDGE_LOW 10 1 read-write GPIO2_LEVEL_HIGH 9 1 read-write GPIO2_LEVEL_LOW 8 1 read-write GPIO3_EDGE_HIGH 15 1 read-write GPIO3_EDGE_LOW 14 1 read-write GPIO3_LEVEL_HIGH 13 1 read-write GPIO3_LEVEL_LOW 12 1 read-write GPIO4_EDGE_HIGH 19 1 read-write GPIO4_EDGE_LOW 18 1 read-write GPIO4_LEVEL_HIGH 17 1 read-write GPIO4_LEVEL_LOW 16 1 read-write GPIO5_EDGE_HIGH 23 1 read-write GPIO5_EDGE_LOW 22 1 read-write GPIO5_LEVEL_HIGH 21 1 read-write GPIO5_LEVEL_LOW 20 1 read-write GPIO6_EDGE_HIGH 27 1 read-write GPIO6_EDGE_LOW 26 1 read-write GPIO6_LEVEL_HIGH 25 1 read-write GPIO6_LEVEL_LOW 24 1 read-write GPIO7_EDGE_HIGH 31 1 read-write GPIO7_EDGE_LOW 30 1 read-write GPIO7_LEVEL_HIGH 29 1 read-write GPIO7_LEVEL_LOW 28 1 read-write PROC0_INTF1 Interrupt Force for proc0 0x114 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-write GPIO10_EDGE_LOW 10 1 read-write GPIO10_LEVEL_HIGH 9 1 read-write GPIO10_LEVEL_LOW 8 1 read-write GPIO11_EDGE_HIGH 15 1 read-write GPIO11_EDGE_LOW 14 1 read-write GPIO11_LEVEL_HIGH 13 1 read-write GPIO11_LEVEL_LOW 12 1 read-write GPIO12_EDGE_HIGH 19 1 read-write GPIO12_EDGE_LOW 18 1 read-write GPIO12_LEVEL_HIGH 17 1 read-write GPIO12_LEVEL_LOW 16 1 read-write GPIO13_EDGE_HIGH 23 1 read-write GPIO13_EDGE_LOW 22 1 read-write GPIO13_LEVEL_HIGH 21 1 read-write GPIO13_LEVEL_LOW 20 1 read-write GPIO14_EDGE_HIGH 27 1 read-write GPIO14_EDGE_LOW 26 1 read-write GPIO14_LEVEL_HIGH 25 1 read-write GPIO14_LEVEL_LOW 24 1 read-write GPIO15_EDGE_HIGH 31 1 read-write GPIO15_EDGE_LOW 30 1 read-write GPIO15_LEVEL_HIGH 29 1 read-write GPIO15_LEVEL_LOW 28 1 read-write GPIO8_EDGE_HIGH 3 1 read-write GPIO8_EDGE_LOW 2 1 read-write GPIO8_LEVEL_HIGH 1 1 read-write GPIO8_LEVEL_LOW 0 1 read-write GPIO9_EDGE_HIGH 7 1 read-write GPIO9_EDGE_LOW 6 1 read-write GPIO9_LEVEL_HIGH 5 1 read-write GPIO9_LEVEL_LOW 4 1 read-write PROC0_INTF2 Interrupt Force for proc0 0x118 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-write GPIO16_EDGE_LOW 2 1 read-write GPIO16_LEVEL_HIGH 1 1 read-write GPIO16_LEVEL_LOW 0 1 read-write GPIO17_EDGE_HIGH 7 1 read-write GPIO17_EDGE_LOW 6 1 read-write GPIO17_LEVEL_HIGH 5 1 read-write GPIO17_LEVEL_LOW 4 1 read-write GPIO18_EDGE_HIGH 11 1 read-write GPIO18_EDGE_LOW 10 1 read-write GPIO18_LEVEL_HIGH 9 1 read-write GPIO18_LEVEL_LOW 8 1 read-write GPIO19_EDGE_HIGH 15 1 read-write GPIO19_EDGE_LOW 14 1 read-write GPIO19_LEVEL_HIGH 13 1 read-write GPIO19_LEVEL_LOW 12 1 read-write GPIO20_EDGE_HIGH 19 1 read-write GPIO20_EDGE_LOW 18 1 read-write GPIO20_LEVEL_HIGH 17 1 read-write GPIO20_LEVEL_LOW 16 1 read-write GPIO21_EDGE_HIGH 23 1 read-write GPIO21_EDGE_LOW 22 1 read-write GPIO21_LEVEL_HIGH 21 1 read-write GPIO21_LEVEL_LOW 20 1 read-write GPIO22_EDGE_HIGH 27 1 read-write GPIO22_EDGE_LOW 26 1 read-write GPIO22_LEVEL_HIGH 25 1 read-write GPIO22_LEVEL_LOW 24 1 read-write GPIO23_EDGE_HIGH 31 1 read-write GPIO23_EDGE_LOW 30 1 read-write GPIO23_LEVEL_HIGH 29 1 read-write GPIO23_LEVEL_LOW 28 1 read-write PROC0_INTF3 Interrupt Force for proc0 0x11C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-write GPIO24_EDGE_LOW 2 1 read-write GPIO24_LEVEL_HIGH 1 1 read-write GPIO24_LEVEL_LOW 0 1 read-write GPIO25_EDGE_HIGH 7 1 read-write GPIO25_EDGE_LOW 6 1 read-write GPIO25_LEVEL_HIGH 5 1 read-write GPIO25_LEVEL_LOW 4 1 read-write GPIO26_EDGE_HIGH 11 1 read-write GPIO26_EDGE_LOW 10 1 read-write GPIO26_LEVEL_HIGH 9 1 read-write GPIO26_LEVEL_LOW 8 1 read-write GPIO27_EDGE_HIGH 15 1 read-write GPIO27_EDGE_LOW 14 1 read-write GPIO27_LEVEL_HIGH 13 1 read-write GPIO27_LEVEL_LOW 12 1 read-write GPIO28_EDGE_HIGH 19 1 read-write GPIO28_EDGE_LOW 18 1 read-write GPIO28_LEVEL_HIGH 17 1 read-write GPIO28_LEVEL_LOW 16 1 read-write GPIO29_EDGE_HIGH 23 1 read-write GPIO29_EDGE_LOW 22 1 read-write GPIO29_LEVEL_HIGH 21 1 read-write GPIO29_LEVEL_LOW 20 1 read-write PROC0_INTS0 Interrupt status after masking & forcing for proc0 0x120 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-only GPIO0_EDGE_LOW 2 1 read-only GPIO0_LEVEL_HIGH 1 1 read-only GPIO0_LEVEL_LOW 0 1 read-only GPIO1_EDGE_HIGH 7 1 read-only GPIO1_EDGE_LOW 6 1 read-only GPIO1_LEVEL_HIGH 5 1 read-only GPIO1_LEVEL_LOW 4 1 read-only GPIO2_EDGE_HIGH 11 1 read-only GPIO2_EDGE_LOW 10 1 read-only GPIO2_LEVEL_HIGH 9 1 read-only GPIO2_LEVEL_LOW 8 1 read-only GPIO3_EDGE_HIGH 15 1 read-only GPIO3_EDGE_LOW 14 1 read-only GPIO3_LEVEL_HIGH 13 1 read-only GPIO3_LEVEL_LOW 12 1 read-only GPIO4_EDGE_HIGH 19 1 read-only GPIO4_EDGE_LOW 18 1 read-only GPIO4_LEVEL_HIGH 17 1 read-only GPIO4_LEVEL_LOW 16 1 read-only GPIO5_EDGE_HIGH 23 1 read-only GPIO5_EDGE_LOW 22 1 read-only GPIO5_LEVEL_HIGH 21 1 read-only GPIO5_LEVEL_LOW 20 1 read-only GPIO6_EDGE_HIGH 27 1 read-only GPIO6_EDGE_LOW 26 1 read-only GPIO6_LEVEL_HIGH 25 1 read-only GPIO6_LEVEL_LOW 24 1 read-only GPIO7_EDGE_HIGH 31 1 read-only GPIO7_EDGE_LOW 30 1 read-only GPIO7_LEVEL_HIGH 29 1 read-only GPIO7_LEVEL_LOW 28 1 read-only PROC0_INTS1 Interrupt status after masking & forcing for proc0 0x124 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-only GPIO10_EDGE_LOW 10 1 read-only GPIO10_LEVEL_HIGH 9 1 read-only GPIO10_LEVEL_LOW 8 1 read-only GPIO11_EDGE_HIGH 15 1 read-only GPIO11_EDGE_LOW 14 1 read-only GPIO11_LEVEL_HIGH 13 1 read-only GPIO11_LEVEL_LOW 12 1 read-only GPIO12_EDGE_HIGH 19 1 read-only GPIO12_EDGE_LOW 18 1 read-only GPIO12_LEVEL_HIGH 17 1 read-only GPIO12_LEVEL_LOW 16 1 read-only GPIO13_EDGE_HIGH 23 1 read-only GPIO13_EDGE_LOW 22 1 read-only GPIO13_LEVEL_HIGH 21 1 read-only GPIO13_LEVEL_LOW 20 1 read-only GPIO14_EDGE_HIGH 27 1 read-only GPIO14_EDGE_LOW 26 1 read-only GPIO14_LEVEL_HIGH 25 1 read-only GPIO14_LEVEL_LOW 24 1 read-only GPIO15_EDGE_HIGH 31 1 read-only GPIO15_EDGE_LOW 30 1 read-only GPIO15_LEVEL_HIGH 29 1 read-only GPIO15_LEVEL_LOW 28 1 read-only GPIO8_EDGE_HIGH 3 1 read-only GPIO8_EDGE_LOW 2 1 read-only GPIO8_LEVEL_HIGH 1 1 read-only GPIO8_LEVEL_LOW 0 1 read-only GPIO9_EDGE_HIGH 7 1 read-only GPIO9_EDGE_LOW 6 1 read-only GPIO9_LEVEL_HIGH 5 1 read-only GPIO9_LEVEL_LOW 4 1 read-only PROC0_INTS2 Interrupt status after masking & forcing for proc0 0x128 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-only GPIO16_EDGE_LOW 2 1 read-only GPIO16_LEVEL_HIGH 1 1 read-only GPIO16_LEVEL_LOW 0 1 read-only GPIO17_EDGE_HIGH 7 1 read-only GPIO17_EDGE_LOW 6 1 read-only GPIO17_LEVEL_HIGH 5 1 read-only GPIO17_LEVEL_LOW 4 1 read-only GPIO18_EDGE_HIGH 11 1 read-only GPIO18_EDGE_LOW 10 1 read-only GPIO18_LEVEL_HIGH 9 1 read-only GPIO18_LEVEL_LOW 8 1 read-only GPIO19_EDGE_HIGH 15 1 read-only GPIO19_EDGE_LOW 14 1 read-only GPIO19_LEVEL_HIGH 13 1 read-only GPIO19_LEVEL_LOW 12 1 read-only GPIO20_EDGE_HIGH 19 1 read-only GPIO20_EDGE_LOW 18 1 read-only GPIO20_LEVEL_HIGH 17 1 read-only GPIO20_LEVEL_LOW 16 1 read-only GPIO21_EDGE_HIGH 23 1 read-only GPIO21_EDGE_LOW 22 1 read-only GPIO21_LEVEL_HIGH 21 1 read-only GPIO21_LEVEL_LOW 20 1 read-only GPIO22_EDGE_HIGH 27 1 read-only GPIO22_EDGE_LOW 26 1 read-only GPIO22_LEVEL_HIGH 25 1 read-only GPIO22_LEVEL_LOW 24 1 read-only GPIO23_EDGE_HIGH 31 1 read-only GPIO23_EDGE_LOW 30 1 read-only GPIO23_LEVEL_HIGH 29 1 read-only GPIO23_LEVEL_LOW 28 1 read-only PROC0_INTS3 Interrupt status after masking & forcing for proc0 0x12C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-only GPIO24_EDGE_LOW 2 1 read-only GPIO24_LEVEL_HIGH 1 1 read-only GPIO24_LEVEL_LOW 0 1 read-only GPIO25_EDGE_HIGH 7 1 read-only GPIO25_EDGE_LOW 6 1 read-only GPIO25_LEVEL_HIGH 5 1 read-only GPIO25_LEVEL_LOW 4 1 read-only GPIO26_EDGE_HIGH 11 1 read-only GPIO26_EDGE_LOW 10 1 read-only GPIO26_LEVEL_HIGH 9 1 read-only GPIO26_LEVEL_LOW 8 1 read-only GPIO27_EDGE_HIGH 15 1 read-only GPIO27_EDGE_LOW 14 1 read-only GPIO27_LEVEL_HIGH 13 1 read-only GPIO27_LEVEL_LOW 12 1 read-only GPIO28_EDGE_HIGH 19 1 read-only GPIO28_EDGE_LOW 18 1 read-only GPIO28_LEVEL_HIGH 17 1 read-only GPIO28_LEVEL_LOW 16 1 read-only GPIO29_EDGE_HIGH 23 1 read-only GPIO29_EDGE_LOW 22 1 read-only GPIO29_LEVEL_HIGH 21 1 read-only GPIO29_LEVEL_LOW 20 1 read-only PROC1_INTE0 Interrupt Enable for proc1 0x130 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-write GPIO0_EDGE_LOW 2 1 read-write GPIO0_LEVEL_HIGH 1 1 read-write GPIO0_LEVEL_LOW 0 1 read-write GPIO1_EDGE_HIGH 7 1 read-write GPIO1_EDGE_LOW 6 1 read-write GPIO1_LEVEL_HIGH 5 1 read-write GPIO1_LEVEL_LOW 4 1 read-write GPIO2_EDGE_HIGH 11 1 read-write GPIO2_EDGE_LOW 10 1 read-write GPIO2_LEVEL_HIGH 9 1 read-write GPIO2_LEVEL_LOW 8 1 read-write GPIO3_EDGE_HIGH 15 1 read-write GPIO3_EDGE_LOW 14 1 read-write GPIO3_LEVEL_HIGH 13 1 read-write GPIO3_LEVEL_LOW 12 1 read-write GPIO4_EDGE_HIGH 19 1 read-write GPIO4_EDGE_LOW 18 1 read-write GPIO4_LEVEL_HIGH 17 1 read-write GPIO4_LEVEL_LOW 16 1 read-write GPIO5_EDGE_HIGH 23 1 read-write GPIO5_EDGE_LOW 22 1 read-write GPIO5_LEVEL_HIGH 21 1 read-write GPIO5_LEVEL_LOW 20 1 read-write GPIO6_EDGE_HIGH 27 1 read-write GPIO6_EDGE_LOW 26 1 read-write GPIO6_LEVEL_HIGH 25 1 read-write GPIO6_LEVEL_LOW 24 1 read-write GPIO7_EDGE_HIGH 31 1 read-write GPIO7_EDGE_LOW 30 1 read-write GPIO7_LEVEL_HIGH 29 1 read-write GPIO7_LEVEL_LOW 28 1 read-write PROC1_INTE1 Interrupt Enable for proc1 0x134 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-write GPIO10_EDGE_LOW 10 1 read-write GPIO10_LEVEL_HIGH 9 1 read-write GPIO10_LEVEL_LOW 8 1 read-write GPIO11_EDGE_HIGH 15 1 read-write GPIO11_EDGE_LOW 14 1 read-write GPIO11_LEVEL_HIGH 13 1 read-write GPIO11_LEVEL_LOW 12 1 read-write GPIO12_EDGE_HIGH 19 1 read-write GPIO12_EDGE_LOW 18 1 read-write GPIO12_LEVEL_HIGH 17 1 read-write GPIO12_LEVEL_LOW 16 1 read-write GPIO13_EDGE_HIGH 23 1 read-write GPIO13_EDGE_LOW 22 1 read-write GPIO13_LEVEL_HIGH 21 1 read-write GPIO13_LEVEL_LOW 20 1 read-write GPIO14_EDGE_HIGH 27 1 read-write GPIO14_EDGE_LOW 26 1 read-write GPIO14_LEVEL_HIGH 25 1 read-write GPIO14_LEVEL_LOW 24 1 read-write GPIO15_EDGE_HIGH 31 1 read-write GPIO15_EDGE_LOW 30 1 read-write GPIO15_LEVEL_HIGH 29 1 read-write GPIO15_LEVEL_LOW 28 1 read-write GPIO8_EDGE_HIGH 3 1 read-write GPIO8_EDGE_LOW 2 1 read-write GPIO8_LEVEL_HIGH 1 1 read-write GPIO8_LEVEL_LOW 0 1 read-write GPIO9_EDGE_HIGH 7 1 read-write GPIO9_EDGE_LOW 6 1 read-write GPIO9_LEVEL_HIGH 5 1 read-write GPIO9_LEVEL_LOW 4 1 read-write PROC1_INTE2 Interrupt Enable for proc1 0x138 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-write GPIO16_EDGE_LOW 2 1 read-write GPIO16_LEVEL_HIGH 1 1 read-write GPIO16_LEVEL_LOW 0 1 read-write GPIO17_EDGE_HIGH 7 1 read-write GPIO17_EDGE_LOW 6 1 read-write GPIO17_LEVEL_HIGH 5 1 read-write GPIO17_LEVEL_LOW 4 1 read-write GPIO18_EDGE_HIGH 11 1 read-write GPIO18_EDGE_LOW 10 1 read-write GPIO18_LEVEL_HIGH 9 1 read-write GPIO18_LEVEL_LOW 8 1 read-write GPIO19_EDGE_HIGH 15 1 read-write GPIO19_EDGE_LOW 14 1 read-write GPIO19_LEVEL_HIGH 13 1 read-write GPIO19_LEVEL_LOW 12 1 read-write GPIO20_EDGE_HIGH 19 1 read-write GPIO20_EDGE_LOW 18 1 read-write GPIO20_LEVEL_HIGH 17 1 read-write GPIO20_LEVEL_LOW 16 1 read-write GPIO21_EDGE_HIGH 23 1 read-write GPIO21_EDGE_LOW 22 1 read-write GPIO21_LEVEL_HIGH 21 1 read-write GPIO21_LEVEL_LOW 20 1 read-write GPIO22_EDGE_HIGH 27 1 read-write GPIO22_EDGE_LOW 26 1 read-write GPIO22_LEVEL_HIGH 25 1 read-write GPIO22_LEVEL_LOW 24 1 read-write GPIO23_EDGE_HIGH 31 1 read-write GPIO23_EDGE_LOW 30 1 read-write GPIO23_LEVEL_HIGH 29 1 read-write GPIO23_LEVEL_LOW 28 1 read-write PROC1_INTE3 Interrupt Enable for proc1 0x13C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-write GPIO24_EDGE_LOW 2 1 read-write GPIO24_LEVEL_HIGH 1 1 read-write GPIO24_LEVEL_LOW 0 1 read-write GPIO25_EDGE_HIGH 7 1 read-write GPIO25_EDGE_LOW 6 1 read-write GPIO25_LEVEL_HIGH 5 1 read-write GPIO25_LEVEL_LOW 4 1 read-write GPIO26_EDGE_HIGH 11 1 read-write GPIO26_EDGE_LOW 10 1 read-write GPIO26_LEVEL_HIGH 9 1 read-write GPIO26_LEVEL_LOW 8 1 read-write GPIO27_EDGE_HIGH 15 1 read-write GPIO27_EDGE_LOW 14 1 read-write GPIO27_LEVEL_HIGH 13 1 read-write GPIO27_LEVEL_LOW 12 1 read-write GPIO28_EDGE_HIGH 19 1 read-write GPIO28_EDGE_LOW 18 1 read-write GPIO28_LEVEL_HIGH 17 1 read-write GPIO28_LEVEL_LOW 16 1 read-write GPIO29_EDGE_HIGH 23 1 read-write GPIO29_EDGE_LOW 22 1 read-write GPIO29_LEVEL_HIGH 21 1 read-write GPIO29_LEVEL_LOW 20 1 read-write PROC1_INTF0 Interrupt Force for proc1 0x140 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-write GPIO0_EDGE_LOW 2 1 read-write GPIO0_LEVEL_HIGH 1 1 read-write GPIO0_LEVEL_LOW 0 1 read-write GPIO1_EDGE_HIGH 7 1 read-write GPIO1_EDGE_LOW 6 1 read-write GPIO1_LEVEL_HIGH 5 1 read-write GPIO1_LEVEL_LOW 4 1 read-write GPIO2_EDGE_HIGH 11 1 read-write GPIO2_EDGE_LOW 10 1 read-write GPIO2_LEVEL_HIGH 9 1 read-write GPIO2_LEVEL_LOW 8 1 read-write GPIO3_EDGE_HIGH 15 1 read-write GPIO3_EDGE_LOW 14 1 read-write GPIO3_LEVEL_HIGH 13 1 read-write GPIO3_LEVEL_LOW 12 1 read-write GPIO4_EDGE_HIGH 19 1 read-write GPIO4_EDGE_LOW 18 1 read-write GPIO4_LEVEL_HIGH 17 1 read-write GPIO4_LEVEL_LOW 16 1 read-write GPIO5_EDGE_HIGH 23 1 read-write GPIO5_EDGE_LOW 22 1 read-write GPIO5_LEVEL_HIGH 21 1 read-write GPIO5_LEVEL_LOW 20 1 read-write GPIO6_EDGE_HIGH 27 1 read-write GPIO6_EDGE_LOW 26 1 read-write GPIO6_LEVEL_HIGH 25 1 read-write GPIO6_LEVEL_LOW 24 1 read-write GPIO7_EDGE_HIGH 31 1 read-write GPIO7_EDGE_LOW 30 1 read-write GPIO7_LEVEL_HIGH 29 1 read-write GPIO7_LEVEL_LOW 28 1 read-write PROC1_INTF1 Interrupt Force for proc1 0x144 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-write GPIO10_EDGE_LOW 10 1 read-write GPIO10_LEVEL_HIGH 9 1 read-write GPIO10_LEVEL_LOW 8 1 read-write GPIO11_EDGE_HIGH 15 1 read-write GPIO11_EDGE_LOW 14 1 read-write GPIO11_LEVEL_HIGH 13 1 read-write GPIO11_LEVEL_LOW 12 1 read-write GPIO12_EDGE_HIGH 19 1 read-write GPIO12_EDGE_LOW 18 1 read-write GPIO12_LEVEL_HIGH 17 1 read-write GPIO12_LEVEL_LOW 16 1 read-write GPIO13_EDGE_HIGH 23 1 read-write GPIO13_EDGE_LOW 22 1 read-write GPIO13_LEVEL_HIGH 21 1 read-write GPIO13_LEVEL_LOW 20 1 read-write GPIO14_EDGE_HIGH 27 1 read-write GPIO14_EDGE_LOW 26 1 read-write GPIO14_LEVEL_HIGH 25 1 read-write GPIO14_LEVEL_LOW 24 1 read-write GPIO15_EDGE_HIGH 31 1 read-write GPIO15_EDGE_LOW 30 1 read-write GPIO15_LEVEL_HIGH 29 1 read-write GPIO15_LEVEL_LOW 28 1 read-write GPIO8_EDGE_HIGH 3 1 read-write GPIO8_EDGE_LOW 2 1 read-write GPIO8_LEVEL_HIGH 1 1 read-write GPIO8_LEVEL_LOW 0 1 read-write GPIO9_EDGE_HIGH 7 1 read-write GPIO9_EDGE_LOW 6 1 read-write GPIO9_LEVEL_HIGH 5 1 read-write GPIO9_LEVEL_LOW 4 1 read-write PROC1_INTF2 Interrupt Force for proc1 0x148 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-write GPIO16_EDGE_LOW 2 1 read-write GPIO16_LEVEL_HIGH 1 1 read-write GPIO16_LEVEL_LOW 0 1 read-write GPIO17_EDGE_HIGH 7 1 read-write GPIO17_EDGE_LOW 6 1 read-write GPIO17_LEVEL_HIGH 5 1 read-write GPIO17_LEVEL_LOW 4 1 read-write GPIO18_EDGE_HIGH 11 1 read-write GPIO18_EDGE_LOW 10 1 read-write GPIO18_LEVEL_HIGH 9 1 read-write GPIO18_LEVEL_LOW 8 1 read-write GPIO19_EDGE_HIGH 15 1 read-write GPIO19_EDGE_LOW 14 1 read-write GPIO19_LEVEL_HIGH 13 1 read-write GPIO19_LEVEL_LOW 12 1 read-write GPIO20_EDGE_HIGH 19 1 read-write GPIO20_EDGE_LOW 18 1 read-write GPIO20_LEVEL_HIGH 17 1 read-write GPIO20_LEVEL_LOW 16 1 read-write GPIO21_EDGE_HIGH 23 1 read-write GPIO21_EDGE_LOW 22 1 read-write GPIO21_LEVEL_HIGH 21 1 read-write GPIO21_LEVEL_LOW 20 1 read-write GPIO22_EDGE_HIGH 27 1 read-write GPIO22_EDGE_LOW 26 1 read-write GPIO22_LEVEL_HIGH 25 1 read-write GPIO22_LEVEL_LOW 24 1 read-write GPIO23_EDGE_HIGH 31 1 read-write GPIO23_EDGE_LOW 30 1 read-write GPIO23_LEVEL_HIGH 29 1 read-write GPIO23_LEVEL_LOW 28 1 read-write PROC1_INTF3 Interrupt Force for proc1 0x14C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-write GPIO24_EDGE_LOW 2 1 read-write GPIO24_LEVEL_HIGH 1 1 read-write GPIO24_LEVEL_LOW 0 1 read-write GPIO25_EDGE_HIGH 7 1 read-write GPIO25_EDGE_LOW 6 1 read-write GPIO25_LEVEL_HIGH 5 1 read-write GPIO25_LEVEL_LOW 4 1 read-write GPIO26_EDGE_HIGH 11 1 read-write GPIO26_EDGE_LOW 10 1 read-write GPIO26_LEVEL_HIGH 9 1 read-write GPIO26_LEVEL_LOW 8 1 read-write GPIO27_EDGE_HIGH 15 1 read-write GPIO27_EDGE_LOW 14 1 read-write GPIO27_LEVEL_HIGH 13 1 read-write GPIO27_LEVEL_LOW 12 1 read-write GPIO28_EDGE_HIGH 19 1 read-write GPIO28_EDGE_LOW 18 1 read-write GPIO28_LEVEL_HIGH 17 1 read-write GPIO28_LEVEL_LOW 16 1 read-write GPIO29_EDGE_HIGH 23 1 read-write GPIO29_EDGE_LOW 22 1 read-write GPIO29_LEVEL_HIGH 21 1 read-write GPIO29_LEVEL_LOW 20 1 read-write PROC1_INTS0 Interrupt status after masking & forcing for proc1 0x150 32 read-write n 0x0 0x0 GPIO0_EDGE_HIGH 3 1 read-only GPIO0_EDGE_LOW 2 1 read-only GPIO0_LEVEL_HIGH 1 1 read-only GPIO0_LEVEL_LOW 0 1 read-only GPIO1_EDGE_HIGH 7 1 read-only GPIO1_EDGE_LOW 6 1 read-only GPIO1_LEVEL_HIGH 5 1 read-only GPIO1_LEVEL_LOW 4 1 read-only GPIO2_EDGE_HIGH 11 1 read-only GPIO2_EDGE_LOW 10 1 read-only GPIO2_LEVEL_HIGH 9 1 read-only GPIO2_LEVEL_LOW 8 1 read-only GPIO3_EDGE_HIGH 15 1 read-only GPIO3_EDGE_LOW 14 1 read-only GPIO3_LEVEL_HIGH 13 1 read-only GPIO3_LEVEL_LOW 12 1 read-only GPIO4_EDGE_HIGH 19 1 read-only GPIO4_EDGE_LOW 18 1 read-only GPIO4_LEVEL_HIGH 17 1 read-only GPIO4_LEVEL_LOW 16 1 read-only GPIO5_EDGE_HIGH 23 1 read-only GPIO5_EDGE_LOW 22 1 read-only GPIO5_LEVEL_HIGH 21 1 read-only GPIO5_LEVEL_LOW 20 1 read-only GPIO6_EDGE_HIGH 27 1 read-only GPIO6_EDGE_LOW 26 1 read-only GPIO6_LEVEL_HIGH 25 1 read-only GPIO6_LEVEL_LOW 24 1 read-only GPIO7_EDGE_HIGH 31 1 read-only GPIO7_EDGE_LOW 30 1 read-only GPIO7_LEVEL_HIGH 29 1 read-only GPIO7_LEVEL_LOW 28 1 read-only PROC1_INTS1 Interrupt status after masking & forcing for proc1 0x154 32 read-write n 0x0 0x0 GPIO10_EDGE_HIGH 11 1 read-only GPIO10_EDGE_LOW 10 1 read-only GPIO10_LEVEL_HIGH 9 1 read-only GPIO10_LEVEL_LOW 8 1 read-only GPIO11_EDGE_HIGH 15 1 read-only GPIO11_EDGE_LOW 14 1 read-only GPIO11_LEVEL_HIGH 13 1 read-only GPIO11_LEVEL_LOW 12 1 read-only GPIO12_EDGE_HIGH 19 1 read-only GPIO12_EDGE_LOW 18 1 read-only GPIO12_LEVEL_HIGH 17 1 read-only GPIO12_LEVEL_LOW 16 1 read-only GPIO13_EDGE_HIGH 23 1 read-only GPIO13_EDGE_LOW 22 1 read-only GPIO13_LEVEL_HIGH 21 1 read-only GPIO13_LEVEL_LOW 20 1 read-only GPIO14_EDGE_HIGH 27 1 read-only GPIO14_EDGE_LOW 26 1 read-only GPIO14_LEVEL_HIGH 25 1 read-only GPIO14_LEVEL_LOW 24 1 read-only GPIO15_EDGE_HIGH 31 1 read-only GPIO15_EDGE_LOW 30 1 read-only GPIO15_LEVEL_HIGH 29 1 read-only GPIO15_LEVEL_LOW 28 1 read-only GPIO8_EDGE_HIGH 3 1 read-only GPIO8_EDGE_LOW 2 1 read-only GPIO8_LEVEL_HIGH 1 1 read-only GPIO8_LEVEL_LOW 0 1 read-only GPIO9_EDGE_HIGH 7 1 read-only GPIO9_EDGE_LOW 6 1 read-only GPIO9_LEVEL_HIGH 5 1 read-only GPIO9_LEVEL_LOW 4 1 read-only PROC1_INTS2 Interrupt status after masking & forcing for proc1 0x158 32 read-write n 0x0 0x0 GPIO16_EDGE_HIGH 3 1 read-only GPIO16_EDGE_LOW 2 1 read-only GPIO16_LEVEL_HIGH 1 1 read-only GPIO16_LEVEL_LOW 0 1 read-only GPIO17_EDGE_HIGH 7 1 read-only GPIO17_EDGE_LOW 6 1 read-only GPIO17_LEVEL_HIGH 5 1 read-only GPIO17_LEVEL_LOW 4 1 read-only GPIO18_EDGE_HIGH 11 1 read-only GPIO18_EDGE_LOW 10 1 read-only GPIO18_LEVEL_HIGH 9 1 read-only GPIO18_LEVEL_LOW 8 1 read-only GPIO19_EDGE_HIGH 15 1 read-only GPIO19_EDGE_LOW 14 1 read-only GPIO19_LEVEL_HIGH 13 1 read-only GPIO19_LEVEL_LOW 12 1 read-only GPIO20_EDGE_HIGH 19 1 read-only GPIO20_EDGE_LOW 18 1 read-only GPIO20_LEVEL_HIGH 17 1 read-only GPIO20_LEVEL_LOW 16 1 read-only GPIO21_EDGE_HIGH 23 1 read-only GPIO21_EDGE_LOW 22 1 read-only GPIO21_LEVEL_HIGH 21 1 read-only GPIO21_LEVEL_LOW 20 1 read-only GPIO22_EDGE_HIGH 27 1 read-only GPIO22_EDGE_LOW 26 1 read-only GPIO22_LEVEL_HIGH 25 1 read-only GPIO22_LEVEL_LOW 24 1 read-only GPIO23_EDGE_HIGH 31 1 read-only GPIO23_EDGE_LOW 30 1 read-only GPIO23_LEVEL_HIGH 29 1 read-only GPIO23_LEVEL_LOW 28 1 read-only PROC1_INTS3 Interrupt status after masking & forcing for proc1 0x15C 32 read-write n 0x0 0x0 GPIO24_EDGE_HIGH 3 1 read-only GPIO24_EDGE_LOW 2 1 read-only GPIO24_LEVEL_HIGH 1 1 read-only GPIO24_LEVEL_LOW 0 1 read-only GPIO25_EDGE_HIGH 7 1 read-only GPIO25_EDGE_LOW 6 1 read-only GPIO25_LEVEL_HIGH 5 1 read-only GPIO25_LEVEL_LOW 4 1 read-only GPIO26_EDGE_HIGH 11 1 read-only GPIO26_EDGE_LOW 10 1 read-only GPIO26_LEVEL_HIGH 9 1 read-only GPIO26_LEVEL_LOW 8 1 read-only GPIO27_EDGE_HIGH 15 1 read-only GPIO27_EDGE_LOW 14 1 read-only GPIO27_LEVEL_HIGH 13 1 read-only GPIO27_LEVEL_LOW 12 1 read-only GPIO28_EDGE_HIGH 19 1 read-only GPIO28_EDGE_LOW 18 1 read-only GPIO28_LEVEL_HIGH 17 1 read-only GPIO28_LEVEL_LOW 16 1 read-only GPIO29_EDGE_HIGH 23 1 read-only GPIO29_EDGE_LOW 22 1 read-only GPIO29_LEVEL_HIGH 21 1 read-only GPIO29_LEVEL_LOW 20 1 read-only IO_QSPI IO_QSPI 0x40018000 0x0 0x1000 registers n IO_IRQ_QSPI 14 DORMANT_WAKE_INTE Interrupt Enable for dormant_wake 0x4C 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-write GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-write GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-write GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-write GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-write GPIO_QSPI_SD0_EDGE_LOW 10 1 read-write GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-write GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-write GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-write GPIO_QSPI_SD1_EDGE_LOW 14 1 read-write GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-write GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-write GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-write GPIO_QSPI_SD2_EDGE_LOW 18 1 read-write GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-write GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-write GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-write GPIO_QSPI_SD3_EDGE_LOW 22 1 read-write GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-write GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-write GPIO_QSPI_SS_EDGE_HIGH 7 1 read-write GPIO_QSPI_SS_EDGE_LOW 6 1 read-write GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-write GPIO_QSPI_SS_LEVEL_LOW 4 1 read-write DORMANT_WAKE_INTF Interrupt Force for dormant_wake 0x50 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-write GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-write GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-write GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-write GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-write GPIO_QSPI_SD0_EDGE_LOW 10 1 read-write GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-write GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-write GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-write GPIO_QSPI_SD1_EDGE_LOW 14 1 read-write GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-write GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-write GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-write GPIO_QSPI_SD2_EDGE_LOW 18 1 read-write GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-write GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-write GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-write GPIO_QSPI_SD3_EDGE_LOW 22 1 read-write GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-write GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-write GPIO_QSPI_SS_EDGE_HIGH 7 1 read-write GPIO_QSPI_SS_EDGE_LOW 6 1 read-write GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-write GPIO_QSPI_SS_LEVEL_LOW 4 1 read-write DORMANT_WAKE_INTS Interrupt status after masking & forcing for dormant_wake 0x54 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-only GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-only GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-only GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-only GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-only GPIO_QSPI_SD0_EDGE_LOW 10 1 read-only GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-only GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-only GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-only GPIO_QSPI_SD1_EDGE_LOW 14 1 read-only GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-only GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-only GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-only GPIO_QSPI_SD2_EDGE_LOW 18 1 read-only GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-only GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-only GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-only GPIO_QSPI_SD3_EDGE_LOW 22 1 read-only GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-only GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-only GPIO_QSPI_SS_EDGE_HIGH 7 1 read-only GPIO_QSPI_SS_EDGE_LOW 6 1 read-only GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-only GPIO_QSPI_SS_LEVEL_LOW 4 1 read-only GPIO_QSPI_SCLK_CTRL GPIO control including function select and overrides. 0x4 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write xip_sclk None 0 null None 31 sio_30 None 5 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO_QSPI_SCLK_STATUS GPIO status 0x0 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO_QSPI_SD0_CTRL GPIO control including function select and overrides. 0x14 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write xip_sd0 None 0 null None 31 sio_32 None 5 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO_QSPI_SD0_STATUS GPIO status 0x10 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO_QSPI_SD1_CTRL GPIO control including function select and overrides. 0x1C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write xip_sd1 None 0 null None 31 sio_33 None 5 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO_QSPI_SD1_STATUS GPIO status 0x18 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO_QSPI_SD2_CTRL GPIO control including function select and overrides. 0x24 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write xip_sd2 None 0 null None 31 sio_34 None 5 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO_QSPI_SD2_STATUS GPIO status 0x20 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO_QSPI_SD3_CTRL GPIO control including function select and overrides. 0x2C 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write xip_sd3 None 0 null None 31 sio_35 None 5 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO_QSPI_SD3_STATUS GPIO status 0x28 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only GPIO_QSPI_SS_CTRL GPIO control including function select and overrides. 0xC 32 read-write n 0x1F 0x0 FUNCSEL 0-31 -> selects pin function according to the gpio table 31 == NULL 0 5 read-write xip_ss_n None 0 null None 31 sio_31 None 5 INOVER 16 2 read-write NORMAL don't invert the peri input 0 INVERT invert the peri input 1 LOW drive peri input low 2 HIGH drive peri input high 3 IRQOVER 28 2 read-write NORMAL don't invert the interrupt 0 INVERT invert the interrupt 1 LOW drive interrupt low 2 HIGH drive interrupt high 3 OEOVER 12 2 read-write NORMAL drive output enable from peripheral signal selected by funcsel 0 INVERT drive output enable from inverse of peripheral signal selected by funcsel 1 DISABLE disable output 2 ENABLE enable output 3 OUTOVER 8 2 read-write NORMAL drive output from peripheral signal selected by funcsel 0 INVERT drive output from inverse of peripheral signal selected by funcsel 1 LOW drive output low 2 HIGH drive output high 3 GPIO_QSPI_SS_STATUS GPIO status 0x8 32 read-write n 0x0 0x0 INFROMPAD input signal from pad, before override is applied 17 1 read-only INTOPERI input signal to peripheral, after override is applied 19 1 read-only IRQFROMPAD interrupt from pad before override is applied 24 1 read-only IRQTOPROC interrupt to processors, after override is applied 26 1 read-only OEFROMPERI output enable from selected peripheral, before register override is applied 12 1 read-only OETOPAD output enable to pad after register override is applied 13 1 read-only OUTFROMPERI output signal from selected peripheral, before register override is applied 8 1 read-only OUTTOPAD output signal to pad after register override is applied 9 1 read-only INTR Raw Interrupts 0x30 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-write oneToClear GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-write oneToClear GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-only GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-only GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-write oneToClear GPIO_QSPI_SD0_EDGE_LOW 10 1 read-write oneToClear GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-only GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-only GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-write oneToClear GPIO_QSPI_SD1_EDGE_LOW 14 1 read-write oneToClear GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-only GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-only GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-write oneToClear GPIO_QSPI_SD2_EDGE_LOW 18 1 read-write oneToClear GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-only GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-only GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-write oneToClear GPIO_QSPI_SD3_EDGE_LOW 22 1 read-write oneToClear GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-only GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-only GPIO_QSPI_SS_EDGE_HIGH 7 1 read-write oneToClear GPIO_QSPI_SS_EDGE_LOW 6 1 read-write oneToClear GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-only GPIO_QSPI_SS_LEVEL_LOW 4 1 read-only PROC0_INTE Interrupt Enable for proc0 0x34 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-write GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-write GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-write GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-write GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-write GPIO_QSPI_SD0_EDGE_LOW 10 1 read-write GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-write GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-write GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-write GPIO_QSPI_SD1_EDGE_LOW 14 1 read-write GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-write GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-write GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-write GPIO_QSPI_SD2_EDGE_LOW 18 1 read-write GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-write GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-write GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-write GPIO_QSPI_SD3_EDGE_LOW 22 1 read-write GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-write GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-write GPIO_QSPI_SS_EDGE_HIGH 7 1 read-write GPIO_QSPI_SS_EDGE_LOW 6 1 read-write GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-write GPIO_QSPI_SS_LEVEL_LOW 4 1 read-write PROC0_INTF Interrupt Force for proc0 0x38 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-write GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-write GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-write GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-write GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-write GPIO_QSPI_SD0_EDGE_LOW 10 1 read-write GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-write GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-write GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-write GPIO_QSPI_SD1_EDGE_LOW 14 1 read-write GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-write GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-write GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-write GPIO_QSPI_SD2_EDGE_LOW 18 1 read-write GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-write GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-write GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-write GPIO_QSPI_SD3_EDGE_LOW 22 1 read-write GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-write GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-write GPIO_QSPI_SS_EDGE_HIGH 7 1 read-write GPIO_QSPI_SS_EDGE_LOW 6 1 read-write GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-write GPIO_QSPI_SS_LEVEL_LOW 4 1 read-write PROC0_INTS Interrupt status after masking & forcing for proc0 0x3C 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-only GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-only GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-only GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-only GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-only GPIO_QSPI_SD0_EDGE_LOW 10 1 read-only GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-only GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-only GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-only GPIO_QSPI_SD1_EDGE_LOW 14 1 read-only GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-only GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-only GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-only GPIO_QSPI_SD2_EDGE_LOW 18 1 read-only GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-only GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-only GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-only GPIO_QSPI_SD3_EDGE_LOW 22 1 read-only GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-only GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-only GPIO_QSPI_SS_EDGE_HIGH 7 1 read-only GPIO_QSPI_SS_EDGE_LOW 6 1 read-only GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-only GPIO_QSPI_SS_LEVEL_LOW 4 1 read-only PROC1_INTE Interrupt Enable for proc1 0x40 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-write GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-write GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-write GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-write GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-write GPIO_QSPI_SD0_EDGE_LOW 10 1 read-write GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-write GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-write GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-write GPIO_QSPI_SD1_EDGE_LOW 14 1 read-write GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-write GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-write GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-write GPIO_QSPI_SD2_EDGE_LOW 18 1 read-write GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-write GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-write GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-write GPIO_QSPI_SD3_EDGE_LOW 22 1 read-write GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-write GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-write GPIO_QSPI_SS_EDGE_HIGH 7 1 read-write GPIO_QSPI_SS_EDGE_LOW 6 1 read-write GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-write GPIO_QSPI_SS_LEVEL_LOW 4 1 read-write PROC1_INTF Interrupt Force for proc1 0x44 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-write GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-write GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-write GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-write GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-write GPIO_QSPI_SD0_EDGE_LOW 10 1 read-write GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-write GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-write GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-write GPIO_QSPI_SD1_EDGE_LOW 14 1 read-write GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-write GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-write GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-write GPIO_QSPI_SD2_EDGE_LOW 18 1 read-write GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-write GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-write GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-write GPIO_QSPI_SD3_EDGE_LOW 22 1 read-write GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-write GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-write GPIO_QSPI_SS_EDGE_HIGH 7 1 read-write GPIO_QSPI_SS_EDGE_LOW 6 1 read-write GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-write GPIO_QSPI_SS_LEVEL_LOW 4 1 read-write PROC1_INTS Interrupt status after masking & forcing for proc1 0x48 32 read-write n 0x0 0x0 GPIO_QSPI_SCLK_EDGE_HIGH 3 1 read-only GPIO_QSPI_SCLK_EDGE_LOW 2 1 read-only GPIO_QSPI_SCLK_LEVEL_HIGH 1 1 read-only GPIO_QSPI_SCLK_LEVEL_LOW 0 1 read-only GPIO_QSPI_SD0_EDGE_HIGH 11 1 read-only GPIO_QSPI_SD0_EDGE_LOW 10 1 read-only GPIO_QSPI_SD0_LEVEL_HIGH 9 1 read-only GPIO_QSPI_SD0_LEVEL_LOW 8 1 read-only GPIO_QSPI_SD1_EDGE_HIGH 15 1 read-only GPIO_QSPI_SD1_EDGE_LOW 14 1 read-only GPIO_QSPI_SD1_LEVEL_HIGH 13 1 read-only GPIO_QSPI_SD1_LEVEL_LOW 12 1 read-only GPIO_QSPI_SD2_EDGE_HIGH 19 1 read-only GPIO_QSPI_SD2_EDGE_LOW 18 1 read-only GPIO_QSPI_SD2_LEVEL_HIGH 17 1 read-only GPIO_QSPI_SD2_LEVEL_LOW 16 1 read-only GPIO_QSPI_SD3_EDGE_HIGH 23 1 read-only GPIO_QSPI_SD3_EDGE_LOW 22 1 read-only GPIO_QSPI_SD3_LEVEL_HIGH 21 1 read-only GPIO_QSPI_SD3_LEVEL_LOW 20 1 read-only GPIO_QSPI_SS_EDGE_HIGH 7 1 read-only GPIO_QSPI_SS_EDGE_LOW 6 1 read-only GPIO_QSPI_SS_LEVEL_HIGH 5 1 read-only GPIO_QSPI_SS_LEVEL_LOW 4 1 read-only PADS_BANK0 PADS_BANK0 0x4001C000 0x0 0x1000 registers n GPIO0 Pad control register 0x4 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO1 Pad control register 0x8 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO10 Pad control register 0x2C 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO11 Pad control register 0x30 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO12 Pad control register 0x34 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO13 Pad control register 0x38 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO14 Pad control register 0x3C 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO15 Pad control register 0x40 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO16 Pad control register 0x44 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO17 Pad control register 0x48 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO18 Pad control register 0x4C 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO19 Pad control register 0x50 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO2 Pad control register 0xC 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO20 Pad control register 0x54 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO21 Pad control register 0x58 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO22 Pad control register 0x5C 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO23 Pad control register 0x60 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO24 Pad control register 0x64 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO25 Pad control register 0x68 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO26 Pad control register 0x6C 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO27 Pad control register 0x70 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO28 Pad control register 0x74 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO29 Pad control register 0x78 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO3 Pad control register 0x10 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO4 Pad control register 0x14 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO5 Pad control register 0x18 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO6 Pad control register 0x1C 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO7 Pad control register 0x20 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO8 Pad control register 0x24 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO9 Pad control register 0x28 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write SWCLK Pad control register 0x7C 32 read-write n 0xDA 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write SWD Pad control register 0x80 32 read-write n 0x5A 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write VOLTAGE_SELECT Voltage select. Per bank control 0x0 32 read-write n 0x0 0x0 VOLTAGE_SELECT 0 1 read-write 3v3 Set voltage to 3.3V (DVDD >= 2V5) 0 1v8 Set voltage to 1.8V (DVDD <= 1V8) 1 PADS_QSPI PADS_QSPI 0x40020000 0x0 0x1000 registers n GPIO_QSPI_SCLK Pad control register 0x4 32 read-write n 0x56 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO_QSPI_SD0 Pad control register 0x8 32 read-write n 0x52 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO_QSPI_SD1 Pad control register 0xC 32 read-write n 0x52 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO_QSPI_SD2 Pad control register 0x10 32 read-write n 0x52 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO_QSPI_SD3 Pad control register 0x14 32 read-write n 0x52 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write GPIO_QSPI_SS Pad control register 0x18 32 read-write n 0x5A 0x0 DRIVE Drive strength. 4 2 read-write 2mA None 0 4mA None 1 8mA None 2 12mA None 3 IE Input enable 6 1 read-write OD Output disable. Has priority over output enable from peripherals 7 1 read-write PDE Pull down enable 2 1 read-write PUE Pull up enable 3 1 read-write SCHMITT Enable schmitt trigger 1 1 read-write SLEWFAST Slew rate control. 1 = Fast, 0 = Slow 0 1 read-write VOLTAGE_SELECT Voltage select. Per bank control 0x0 32 read-write n 0x0 0x0 VOLTAGE_SELECT 0 1 read-write 3v3 Set voltage to 3.3V (DVDD >= 2V5) 0 1v8 Set voltage to 1.8V (DVDD <= 1V8) 1 PIO0 Programmable IO block PIO0 0x50200000 0x0 0x1000 registers n PIO0_IRQ_0 7 PIO0_IRQ_1 8 CTRL PIO control register 0x0 32 read-write n 0x0 0x0 CLKDIV_RESTART Restart a state machine's clock divider from an initial phase of 0. Clock dividers are free-running, so once started, their output (including fractional jitter) is completely determined by the integer/fractional divisor configured in SMx_CLKDIV. This means that, if multiple clock dividers with the same divisor are restarted simultaneously, by writing multiple 1 bits to this field, the execution clocks of those state machines will run in precise lockstep. Note that setting/clearing SM_ENABLE does not stop the clock divider from running, so once multiple state machines' clocks are synchronised, it is safe to disable/reenable a state machine, whilst keeping the clock dividers in sync. Note also that CLKDIV_RESTART can be written to whilst the state machine is running, and this is useful to resynchronise clock dividers after the divisors (SMx_CLKDIV) have been changed on-the-fly. 8 4 read-write clear SM_ENABLE Enable/disable each of the four state machines by writing 1/0 to each of these four bits. When disabled, a state machine will cease executing instructions, except those written directly to SMx_INSTR by the system. Multiple bits can be set/cleared at once to run/halt multiple state machines simultaneously. 0 4 read-write SM_RESTART Write 1 to instantly clear internal SM state which may be otherwise difficult to access and will affect future execution. Specifically, the following are cleared: input and output shift counters the contents of the input shift register the delay counter the waiting-on-IRQ state any stalled instruction written to SMx_INSTR or run by OUT/MOV EXEC any pin write left asserted due to OUT_STICKY. 4 4 read-write clear DBG_CFGINFO The PIO hardware has some free parameters that may vary between chip products. These should be provided in the chip datasheet, but are also exposed here. 0x44 32 read-write n 0x0 0x0 FIFO_DEPTH The depth of the state machine TX/RX FIFOs, measured in words. Joining fifos via SHIFTCTRL_FJOIN gives one FIFO with double this depth. 0 6 read-only IMEM_SIZE The size of the instruction memory, measured in units of one instruction 16 6 read-only SM_COUNT The number of state machines this PIO instance is equipped with. 8 4 read-only DBG_PADOE Read to sample the pad output enables (direction) PIO is currently driving to the GPIOs. On RP2040 there are 30 GPIOs, so the two most significant bits are hardwired to 0. 0x40 32 read-only n 0x0 0x0 DBG_PADOUT Read to sample the pad output values PIO is currently driving to the GPIOs. On RP2040 there are 30 GPIOs, so the two most significant bits are hardwired to 0. 0x3C 32 read-only n 0x0 0x0 FDEBUG FIFO debug register 0x8 32 read-write n 0x0 0x0 RXSTALL State machine has stalled on full RX FIFO during a blocking PUSH, or an IN with autopush enabled. This flag is also set when a nonblocking PUSH to a full FIFO took place, in which case the state machine has dropped data. Write 1 to clear. 0 4 read-write oneToClear RXUNDER RX FIFO underflow (i.e. read-on-empty by the system) has occurred. Write 1 to clear. Note that read-on-empty does not perturb the state of the FIFO in any way, but the data returned by reading from an empty FIFO is undefined, so this flag generally only becomes set due to some kind of software error. 8 4 read-write oneToClear TXOVER TX FIFO overflow (i.e. write-on-full by the system) has occurred. Write 1 to clear. Note that write-on-full does not alter the state or contents of the FIFO in any way, but the data that the system attempted to write is dropped, so if this flag is set, your software has quite likely dropped some data on the floor. 16 4 read-write oneToClear TXSTALL State machine has stalled on empty TX FIFO during a blocking PULL, or an OUT with autopull enabled. Write 1 to clear. 24 4 read-write oneToClear FLEVEL FIFO levels 0xC 32 read-write n 0x0 0x0 RX0 4 4 read-only RX1 12 4 read-only RX2 20 4 read-only RX3 28 4 read-only TX0 0 4 read-only TX1 8 4 read-only TX2 16 4 read-only TX3 24 4 read-only FSTAT FIFO status register 0x4 32 read-write n 0xF000F00 0x0 RXEMPTY State machine RX FIFO is empty 8 4 read-only RXFULL State machine RX FIFO is full 0 4 read-only TXEMPTY State machine TX FIFO is empty 24 4 read-only TXFULL State machine TX FIFO is full 16 4 read-only INPUT_SYNC_BYPASS There is a 2-flipflop synchronizer on each GPIO input, which protects PIO logic from metastabilities. This increases input delay, and for fast synchronous IO (e.g. SPI) these synchronizers may need to be bypassed. Each bit in this register corresponds to one GPIO. 0 -> input is synchronized (default) 1 -> synchronizer is bypassed If in doubt, leave this register as all zeroes. 0x38 32 read-write n 0x0 0x0 INSTR_MEM0 Write-only access to instruction memory location 0 0x48 32 read-write n 0x0 0x0 INSTR_MEM0 0 16 write-only INSTR_MEM1 Write-only access to instruction memory location 1 0x4C 32 read-write n 0x0 0x0 INSTR_MEM1 0 16 write-only INSTR_MEM10 Write-only access to instruction memory location 10 0x70 32 read-write n 0x0 0x0 INSTR_MEM10 0 16 write-only INSTR_MEM11 Write-only access to instruction memory location 11 0x74 32 read-write n 0x0 0x0 INSTR_MEM11 0 16 write-only INSTR_MEM12 Write-only access to instruction memory location 12 0x78 32 read-write n 0x0 0x0 INSTR_MEM12 0 16 write-only INSTR_MEM13 Write-only access to instruction memory location 13 0x7C 32 read-write n 0x0 0x0 INSTR_MEM13 0 16 write-only INSTR_MEM14 Write-only access to instruction memory location 14 0x80 32 read-write n 0x0 0x0 INSTR_MEM14 0 16 write-only INSTR_MEM15 Write-only access to instruction memory location 15 0x84 32 read-write n 0x0 0x0 INSTR_MEM15 0 16 write-only INSTR_MEM16 Write-only access to instruction memory location 16 0x88 32 read-write n 0x0 0x0 INSTR_MEM16 0 16 write-only INSTR_MEM17 Write-only access to instruction memory location 17 0x8C 32 read-write n 0x0 0x0 INSTR_MEM17 0 16 write-only INSTR_MEM18 Write-only access to instruction memory location 18 0x90 32 read-write n 0x0 0x0 INSTR_MEM18 0 16 write-only INSTR_MEM19 Write-only access to instruction memory location 19 0x94 32 read-write n 0x0 0x0 INSTR_MEM19 0 16 write-only INSTR_MEM2 Write-only access to instruction memory location 2 0x50 32 read-write n 0x0 0x0 INSTR_MEM2 0 16 write-only INSTR_MEM20 Write-only access to instruction memory location 20 0x98 32 read-write n 0x0 0x0 INSTR_MEM20 0 16 write-only INSTR_MEM21 Write-only access to instruction memory location 21 0x9C 32 read-write n 0x0 0x0 INSTR_MEM21 0 16 write-only INSTR_MEM22 Write-only access to instruction memory location 22 0xA0 32 read-write n 0x0 0x0 INSTR_MEM22 0 16 write-only INSTR_MEM23 Write-only access to instruction memory location 23 0xA4 32 read-write n 0x0 0x0 INSTR_MEM23 0 16 write-only INSTR_MEM24 Write-only access to instruction memory location 24 0xA8 32 read-write n 0x0 0x0 INSTR_MEM24 0 16 write-only INSTR_MEM25 Write-only access to instruction memory location 25 0xAC 32 read-write n 0x0 0x0 INSTR_MEM25 0 16 write-only INSTR_MEM26 Write-only access to instruction memory location 26 0xB0 32 read-write n 0x0 0x0 INSTR_MEM26 0 16 write-only INSTR_MEM27 Write-only access to instruction memory location 27 0xB4 32 read-write n 0x0 0x0 INSTR_MEM27 0 16 write-only INSTR_MEM28 Write-only access to instruction memory location 28 0xB8 32 read-write n 0x0 0x0 INSTR_MEM28 0 16 write-only INSTR_MEM29 Write-only access to instruction memory location 29 0xBC 32 read-write n 0x0 0x0 INSTR_MEM29 0 16 write-only INSTR_MEM3 Write-only access to instruction memory location 3 0x54 32 read-write n 0x0 0x0 INSTR_MEM3 0 16 write-only INSTR_MEM30 Write-only access to instruction memory location 30 0xC0 32 read-write n 0x0 0x0 INSTR_MEM30 0 16 write-only INSTR_MEM31 Write-only access to instruction memory location 31 0xC4 32 read-write n 0x0 0x0 INSTR_MEM31 0 16 write-only INSTR_MEM4 Write-only access to instruction memory location 4 0x58 32 read-write n 0x0 0x0 INSTR_MEM4 0 16 write-only INSTR_MEM5 Write-only access to instruction memory location 5 0x5C 32 read-write n 0x0 0x0 INSTR_MEM5 0 16 write-only INSTR_MEM6 Write-only access to instruction memory location 6 0x60 32 read-write n 0x0 0x0 INSTR_MEM6 0 16 write-only INSTR_MEM7 Write-only access to instruction memory location 7 0x64 32 read-write n 0x0 0x0 INSTR_MEM7 0 16 write-only INSTR_MEM8 Write-only access to instruction memory location 8 0x68 32 read-write n 0x0 0x0 INSTR_MEM8 0 16 write-only INSTR_MEM9 Write-only access to instruction memory location 9 0x6C 32 read-write n 0x0 0x0 INSTR_MEM9 0 16 write-only INTR Raw Interrupts 0x128 32 read-write n 0x0 0x0 SM0 8 1 read-only SM0_RXNEMPTY 0 1 read-only SM0_TXNFULL 4 1 read-only SM1 9 1 read-only SM1_RXNEMPTY 1 1 read-only SM1_TXNFULL 5 1 read-only SM2 10 1 read-only SM2_RXNEMPTY 2 1 read-only SM2_TXNFULL 6 1 read-only SM3 11 1 read-only SM3_RXNEMPTY 3 1 read-only SM3_TXNFULL 7 1 read-only IRQ State machine IRQ flags register. Write 1 to clear. There are 8 state machine IRQ flags, which can be set, cleared, and waited on by the state machines. There's no fixed association between flags and state machines -- any state machine can use any flag. Any of the 8 flags can be used for timing synchronisation between state machines, using IRQ and WAIT instructions. The lower four of these flags are also routed out to system-level interrupt requests, alongside FIFO status interrupts -- see e.g. IRQ0_INTE. 0x30 32 read-write n 0x0 0x0 IRQ 0 8 read-write oneToClear IRQ0_INTE Interrupt Enable for irq0 0x12C 32 read-write n 0x0 0x0 SM0 8 1 read-write SM0_RXNEMPTY 0 1 read-write SM0_TXNFULL 4 1 read-write SM1 9 1 read-write SM1_RXNEMPTY 1 1 read-write SM1_TXNFULL 5 1 read-write SM2 10 1 read-write SM2_RXNEMPTY 2 1 read-write SM2_TXNFULL 6 1 read-write SM3 11 1 read-write SM3_RXNEMPTY 3 1 read-write SM3_TXNFULL 7 1 read-write IRQ0_INTF Interrupt Force for irq0 0x130 32 read-write n 0x0 0x0 SM0 8 1 read-write SM0_RXNEMPTY 0 1 read-write SM0_TXNFULL 4 1 read-write SM1 9 1 read-write SM1_RXNEMPTY 1 1 read-write SM1_TXNFULL 5 1 read-write SM2 10 1 read-write SM2_RXNEMPTY 2 1 read-write SM2_TXNFULL 6 1 read-write SM3 11 1 read-write SM3_RXNEMPTY 3 1 read-write SM3_TXNFULL 7 1 read-write IRQ0_INTS Interrupt status after masking & forcing for irq0 0x134 32 read-write n 0x0 0x0 SM0 8 1 read-only SM0_RXNEMPTY 0 1 read-only SM0_TXNFULL 4 1 read-only SM1 9 1 read-only SM1_RXNEMPTY 1 1 read-only SM1_TXNFULL 5 1 read-only SM2 10 1 read-only SM2_RXNEMPTY 2 1 read-only SM2_TXNFULL 6 1 read-only SM3 11 1 read-only SM3_RXNEMPTY 3 1 read-only SM3_TXNFULL 7 1 read-only IRQ1_INTE Interrupt Enable for irq1 0x138 32 read-write n 0x0 0x0 SM0 8 1 read-write SM0_RXNEMPTY 0 1 read-write SM0_TXNFULL 4 1 read-write SM1 9 1 read-write SM1_RXNEMPTY 1 1 read-write SM1_TXNFULL 5 1 read-write SM2 10 1 read-write SM2_RXNEMPTY 2 1 read-write SM2_TXNFULL 6 1 read-write SM3 11 1 read-write SM3_RXNEMPTY 3 1 read-write SM3_TXNFULL 7 1 read-write IRQ1_INTF Interrupt Force for irq1 0x13C 32 read-write n 0x0 0x0 SM0 8 1 read-write SM0_RXNEMPTY 0 1 read-write SM0_TXNFULL 4 1 read-write SM1 9 1 read-write SM1_RXNEMPTY 1 1 read-write SM1_TXNFULL 5 1 read-write SM2 10 1 read-write SM2_RXNEMPTY 2 1 read-write SM2_TXNFULL 6 1 read-write SM3 11 1 read-write SM3_RXNEMPTY 3 1 read-write SM3_TXNFULL 7 1 read-write IRQ1_INTS Interrupt status after masking & forcing for irq1 0x140 32 read-write n 0x0 0x0 SM0 8 1 read-only SM0_RXNEMPTY 0 1 read-only SM0_TXNFULL 4 1 read-only SM1 9 1 read-only SM1_RXNEMPTY 1 1 read-only SM1_TXNFULL 5 1 read-only SM2 10 1 read-only SM2_RXNEMPTY 2 1 read-only SM2_TXNFULL 6 1 read-only SM3 11 1 read-only SM3_RXNEMPTY 3 1 read-only SM3_TXNFULL 7 1 read-only IRQ_FORCE Writing a 1 to each of these bits will forcibly assert the corresponding IRQ. Note this is different to the INTF register: writing here affects PIO internal state. INTF just asserts the processor-facing IRQ signal for testing ISRs, and is not visible to the state machines. 0x34 32 read-write n 0x0 0x0 IRQ_FORCE 0 8 write-only RXF0 Direct read access to the RX FIFO for this state machine. Each read pops one word from the FIFO. Attempting to read from an empty FIFO has no effect on the FIFO state, and sets the sticky FDEBUG_RXUNDER error flag for this FIFO. The data returned to the system on a read from an empty FIFO is undefined. 0x20 32 read-only n 0x0 0x0 RXF1 Direct read access to the RX FIFO for this state machine. Each read pops one word from the FIFO. Attempting to read from an empty FIFO has no effect on the FIFO state, and sets the sticky FDEBUG_RXUNDER error flag for this FIFO. The data returned to the system on a read from an empty FIFO is undefined. 0x24 32 read-only n 0x0 0x0 RXF2 Direct read access to the RX FIFO for this state machine. Each read pops one word from the FIFO. Attempting to read from an empty FIFO has no effect on the FIFO state, and sets the sticky FDEBUG_RXUNDER error flag for this FIFO. The data returned to the system on a read from an empty FIFO is undefined. 0x28 32 read-only n 0x0 0x0 RXF3 Direct read access to the RX FIFO for this state machine. Each read pops one word from the FIFO. Attempting to read from an empty FIFO has no effect on the FIFO state, and sets the sticky FDEBUG_RXUNDER error flag for this FIFO. The data returned to the system on a read from an empty FIFO is undefined. 0x2C 32 read-only n 0x0 0x0 SM0_ADDR Current instruction address of state machine 0 0xD4 32 read-write n 0x0 0x0 SM0_ADDR 0 5 read-only SM0_CLKDIV Clock divisor register for state machine 0 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256) 0xC8 32 read-write n 0x10000 0x0 FRAC Fractional part of clock divisor 8 8 read-write INT Effective frequency is sysclk/(int + frac/256). Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0. 16 16 read-write SM0_EXECCTRL Execution/behavioural settings for state machine 0 0xCC 32 read-write n 0x1F000 0x0 EXEC_STALLED If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. 31 1 read-only INLINE_OUT_EN If 1, use a bit of OUT data as an auxiliary write enable When used in conjunction with OUT_STICKY, writes with an enable of 0 will deassert the latest pin write. This can create useful masking/override behaviour due to the priority ordering of state machine pin writes (SM0 < SM1 < ...) 18 1 read-write JMP_PIN The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. 24 5 read-write OUT_EN_SEL Which data bit to use for inline OUT enable 19 5 read-write OUT_STICKY Continuously assert the most recent OUT/SET to the pins 17 1 read-write SIDE_EN If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. 30 1 read-write SIDE_PINDIR If 1, side-set data is asserted to pin directions, instead of pin values 29 1 read-write STATUS_N Comparison level for the MOV x, STATUS instruction 0 4 read-write STATUS_SEL Comparison used for the MOV x, STATUS instruction. 4 1 read-write TXLEVEL All-ones if TX FIFO level < N, otherwise all-zeroes 0 RXLEVEL All-ones if RX FIFO level < N, otherwise all-zeroes 1 WRAP_BOTTOM After reaching wrap_top, execution is wrapped to this address. 7 5 read-write WRAP_TOP After reaching this address, execution is wrapped to wrap_bottom. If the instruction is a jump, and the jump condition is true, the jump takes priority. 12 5 read-write SM0_INSTR Read to see the instruction currently addressed by state machine 0's program counter Write to execute an instruction immediately (including jumps) and then resume execution. 0xD8 32 read-write n 0x0 0x0 SM0_INSTR 0 16 read-write SM0_PINCTRL State machine pin control 0xDC 32 read-write n 0x14000000 0x0 IN_BASE The pin which is mapped to the least-significant bit of a state machine's IN data bus. Higher-numbered pins are mapped to consecutively more-significant data bits, with a modulo of 32 applied to pin number. 15 5 read-write OUT_BASE The lowest-numbered pin that will be affected by an OUT PINS, OUT PINDIRS or MOV PINS instruction. The data written to this pin will always be the least-significant bit of the OUT or MOV data. 0 5 read-write OUT_COUNT The number of pins asserted by an OUT PINS, OUT PINDIRS or MOV PINS instruction. In the range 0 to 32 inclusive. 20 6 read-write SET_BASE The lowest-numbered pin that will be affected by a SET PINS or SET PINDIRS instruction. The data written to this pin is the least-significant bit of the SET data. 5 5 read-write SET_COUNT The number of pins asserted by a SET. In the range 0 to 5 inclusive. 26 3 read-write SIDESET_BASE The lowest-numbered pin that will be affected by a side-set operation. The MSBs of an instruction's side-set/delay field (up to 5, determined by SIDESET_COUNT) are used for side-set data, with the remaining LSBs used for delay. The least-significant bit of the side-set portion is the bit written to this pin, with more-significant bits written to higher-numbered pins. 10 5 read-write SIDESET_COUNT The number of MSBs of the Delay/Side-set instruction field which are used for side-set. Inclusive of the enable bit, if present. Minimum of 0 (all delay bits, no side-set) and maximum of 5 (all side-set, no delay). 29 3 read-write SM0_SHIFTCTRL Control behaviour of the input/output shift registers for state machine 0 0xD0 32 read-write n 0xC0000 0x0 AUTOPULL Pull automatically when the output shift register is emptied, i.e. on or following an OUT instruction which causes the output shift counter to reach or exceed PULL_THRESH. 17 1 read-write AUTOPUSH Push automatically when the input shift register is filled, i.e. on an IN instruction which causes the input shift counter to reach or exceed PUSH_THRESH. 16 1 read-write FJOIN_RX When 1, RX FIFO steals the TX FIFO's storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 31 1 read-write FJOIN_TX When 1, TX FIFO steals the RX FIFO's storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 30 1 read-write IN_SHIFTDIR 1 = shift input shift register to right (data enters from left). 0 = to left. 18 1 read-write OUT_SHIFTDIR 1 = shift out of output shift register to right. 0 = to left. 19 1 read-write PULL_THRESH Number of bits shifted out of OSR before autopull, or conditional pull (PULL IFEMPTY), will take place. Write 0 for value of 32. 25 5 read-write PUSH_THRESH Number of bits shifted into ISR before autopush, or conditional push (PUSH IFFULL), will take place. Write 0 for value of 32. 20 5 read-write SM1_ADDR Current instruction address of state machine 1 0xEC 32 read-write n 0x0 0x0 SM1_ADDR 0 5 read-only SM1_CLKDIV Clock divisor register for state machine 1 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256) 0xE0 32 read-write n 0x10000 0x0 FRAC Fractional part of clock divisor 8 8 read-write INT Effective frequency is sysclk/(int + frac/256). Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0. 16 16 read-write SM1_EXECCTRL Execution/behavioural settings for state machine 1 0xE4 32 read-write n 0x1F000 0x0 EXEC_STALLED If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. 31 1 read-only INLINE_OUT_EN If 1, use a bit of OUT data as an auxiliary write enable When used in conjunction with OUT_STICKY, writes with an enable of 0 will deassert the latest pin write. This can create useful masking/override behaviour due to the priority ordering of state machine pin writes (SM0 < SM1 < ...) 18 1 read-write JMP_PIN The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. 24 5 read-write OUT_EN_SEL Which data bit to use for inline OUT enable 19 5 read-write OUT_STICKY Continuously assert the most recent OUT/SET to the pins 17 1 read-write SIDE_EN If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. 30 1 read-write SIDE_PINDIR If 1, side-set data is asserted to pin directions, instead of pin values 29 1 read-write STATUS_N Comparison level for the MOV x, STATUS instruction 0 4 read-write STATUS_SEL Comparison used for the MOV x, STATUS instruction. 4 1 read-write TXLEVEL All-ones if TX FIFO level < N, otherwise all-zeroes 0 RXLEVEL All-ones if RX FIFO level < N, otherwise all-zeroes 1 WRAP_BOTTOM After reaching wrap_top, execution is wrapped to this address. 7 5 read-write WRAP_TOP After reaching this address, execution is wrapped to wrap_bottom. If the instruction is a jump, and the jump condition is true, the jump takes priority. 12 5 read-write SM1_INSTR Read to see the instruction currently addressed by state machine 1's program counter Write to execute an instruction immediately (including jumps) and then resume execution. 0xF0 32 read-write n 0x0 0x0 SM1_INSTR 0 16 read-write SM1_PINCTRL State machine pin control 0xF4 32 read-write n 0x14000000 0x0 IN_BASE The pin which is mapped to the least-significant bit of a state machine's IN data bus. Higher-numbered pins are mapped to consecutively more-significant data bits, with a modulo of 32 applied to pin number. 15 5 read-write OUT_BASE The lowest-numbered pin that will be affected by an OUT PINS, OUT PINDIRS or MOV PINS instruction. The data written to this pin will always be the least-significant bit of the OUT or MOV data. 0 5 read-write OUT_COUNT The number of pins asserted by an OUT PINS, OUT PINDIRS or MOV PINS instruction. In the range 0 to 32 inclusive. 20 6 read-write SET_BASE The lowest-numbered pin that will be affected by a SET PINS or SET PINDIRS instruction. The data written to this pin is the least-significant bit of the SET data. 5 5 read-write SET_COUNT The number of pins asserted by a SET. In the range 0 to 5 inclusive. 26 3 read-write SIDESET_BASE The lowest-numbered pin that will be affected by a side-set operation. The MSBs of an instruction's side-set/delay field (up to 5, determined by SIDESET_COUNT) are used for side-set data, with the remaining LSBs used for delay. The least-significant bit of the side-set portion is the bit written to this pin, with more-significant bits written to higher-numbered pins. 10 5 read-write SIDESET_COUNT The number of MSBs of the Delay/Side-set instruction field which are used for side-set. Inclusive of the enable bit, if present. Minimum of 0 (all delay bits, no side-set) and maximum of 5 (all side-set, no delay). 29 3 read-write SM1_SHIFTCTRL Control behaviour of the input/output shift registers for state machine 1 0xE8 32 read-write n 0xC0000 0x0 AUTOPULL Pull automatically when the output shift register is emptied, i.e. on or following an OUT instruction which causes the output shift counter to reach or exceed PULL_THRESH. 17 1 read-write AUTOPUSH Push automatically when the input shift register is filled, i.e. on an IN instruction which causes the input shift counter to reach or exceed PUSH_THRESH. 16 1 read-write FJOIN_RX When 1, RX FIFO steals the TX FIFO's storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 31 1 read-write FJOIN_TX When 1, TX FIFO steals the RX FIFO's storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 30 1 read-write IN_SHIFTDIR 1 = shift input shift register to right (data enters from left). 0 = to left. 18 1 read-write OUT_SHIFTDIR 1 = shift out of output shift register to right. 0 = to left. 19 1 read-write PULL_THRESH Number of bits shifted out of OSR before autopull, or conditional pull (PULL IFEMPTY), will take place. Write 0 for value of 32. 25 5 read-write PUSH_THRESH Number of bits shifted into ISR before autopush, or conditional push (PUSH IFFULL), will take place. Write 0 for value of 32. 20 5 read-write SM2_ADDR Current instruction address of state machine 2 0x104 32 read-write n 0x0 0x0 SM2_ADDR 0 5 read-only SM2_CLKDIV Clock divisor register for state machine 2 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256) 0xF8 32 read-write n 0x10000 0x0 FRAC Fractional part of clock divisor 8 8 read-write INT Effective frequency is sysclk/(int + frac/256). Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0. 16 16 read-write SM2_EXECCTRL Execution/behavioural settings for state machine 2 0xFC 32 read-write n 0x1F000 0x0 EXEC_STALLED If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. 31 1 read-only INLINE_OUT_EN If 1, use a bit of OUT data as an auxiliary write enable When used in conjunction with OUT_STICKY, writes with an enable of 0 will deassert the latest pin write. This can create useful masking/override behaviour due to the priority ordering of state machine pin writes (SM0 < SM1 < ...) 18 1 read-write JMP_PIN The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. 24 5 read-write OUT_EN_SEL Which data bit to use for inline OUT enable 19 5 read-write OUT_STICKY Continuously assert the most recent OUT/SET to the pins 17 1 read-write SIDE_EN If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. 30 1 read-write SIDE_PINDIR If 1, side-set data is asserted to pin directions, instead of pin values 29 1 read-write STATUS_N Comparison level for the MOV x, STATUS instruction 0 4 read-write STATUS_SEL Comparison used for the MOV x, STATUS instruction. 4 1 read-write TXLEVEL All-ones if TX FIFO level < N, otherwise all-zeroes 0 RXLEVEL All-ones if RX FIFO level < N, otherwise all-zeroes 1 WRAP_BOTTOM After reaching wrap_top, execution is wrapped to this address. 7 5 read-write WRAP_TOP After reaching this address, execution is wrapped to wrap_bottom. If the instruction is a jump, and the jump condition is true, the jump takes priority. 12 5 read-write SM2_INSTR Read to see the instruction currently addressed by state machine 2's program counter Write to execute an instruction immediately (including jumps) and then resume execution. 0x108 32 read-write n 0x0 0x0 SM2_INSTR 0 16 read-write SM2_PINCTRL State machine pin control 0x10C 32 read-write n 0x14000000 0x0 IN_BASE The pin which is mapped to the least-significant bit of a state machine's IN data bus. Higher-numbered pins are mapped to consecutively more-significant data bits, with a modulo of 32 applied to pin number. 15 5 read-write OUT_BASE The lowest-numbered pin that will be affected by an OUT PINS, OUT PINDIRS or MOV PINS instruction. The data written to this pin will always be the least-significant bit of the OUT or MOV data. 0 5 read-write OUT_COUNT The number of pins asserted by an OUT PINS, OUT PINDIRS or MOV PINS instruction. In the range 0 to 32 inclusive. 20 6 read-write SET_BASE The lowest-numbered pin that will be affected by a SET PINS or SET PINDIRS instruction. The data written to this pin is the least-significant bit of the SET data. 5 5 read-write SET_COUNT The number of pins asserted by a SET. In the range 0 to 5 inclusive. 26 3 read-write SIDESET_BASE The lowest-numbered pin that will be affected by a side-set operation. The MSBs of an instruction's side-set/delay field (up to 5, determined by SIDESET_COUNT) are used for side-set data, with the remaining LSBs used for delay. The least-significant bit of the side-set portion is the bit written to this pin, with more-significant bits written to higher-numbered pins. 10 5 read-write SIDESET_COUNT The number of MSBs of the Delay/Side-set instruction field which are used for side-set. Inclusive of the enable bit, if present. Minimum of 0 (all delay bits, no side-set) and maximum of 5 (all side-set, no delay). 29 3 read-write SM2_SHIFTCTRL Control behaviour of the input/output shift registers for state machine 2 0x100 32 read-write n 0xC0000 0x0 AUTOPULL Pull automatically when the output shift register is emptied, i.e. on or following an OUT instruction which causes the output shift counter to reach or exceed PULL_THRESH. 17 1 read-write AUTOPUSH Push automatically when the input shift register is filled, i.e. on an IN instruction which causes the input shift counter to reach or exceed PUSH_THRESH. 16 1 read-write FJOIN_RX When 1, RX FIFO steals the TX FIFO's storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 31 1 read-write FJOIN_TX When 1, TX FIFO steals the RX FIFO's storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 30 1 read-write IN_SHIFTDIR 1 = shift input shift register to right (data enters from left). 0 = to left. 18 1 read-write OUT_SHIFTDIR 1 = shift out of output shift register to right. 0 = to left. 19 1 read-write PULL_THRESH Number of bits shifted out of OSR before autopull, or conditional pull (PULL IFEMPTY), will take place. Write 0 for value of 32. 25 5 read-write PUSH_THRESH Number of bits shifted into ISR before autopush, or conditional push (PUSH IFFULL), will take place. Write 0 for value of 32. 20 5 read-write SM3_ADDR Current instruction address of state machine 3 0x11C 32 read-write n 0x0 0x0 SM3_ADDR 0 5 read-only SM3_CLKDIV Clock divisor register for state machine 3 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256) 0x110 32 read-write n 0x10000 0x0 FRAC Fractional part of clock divisor 8 8 read-write INT Effective frequency is sysclk/(int + frac/256). Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0. 16 16 read-write SM3_EXECCTRL Execution/behavioural settings for state machine 3 0x114 32 read-write n 0x1F000 0x0 EXEC_STALLED If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. 31 1 read-only INLINE_OUT_EN If 1, use a bit of OUT data as an auxiliary write enable When used in conjunction with OUT_STICKY, writes with an enable of 0 will deassert the latest pin write. This can create useful masking/override behaviour due to the priority ordering of state machine pin writes (SM0 < SM1 < ...) 18 1 read-write JMP_PIN The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. 24 5 read-write OUT_EN_SEL Which data bit to use for inline OUT enable 19 5 read-write OUT_STICKY Continuously assert the most recent OUT/SET to the pins 17 1 read-write SIDE_EN If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. 30 1 read-write SIDE_PINDIR If 1, side-set data is asserted to pin directions, instead of pin values 29 1 read-write STATUS_N Comparison level for the MOV x, STATUS instruction 0 4 read-write STATUS_SEL Comparison used for the MOV x, STATUS instruction. 4 1 read-write TXLEVEL All-ones if TX FIFO level < N, otherwise all-zeroes 0 RXLEVEL All-ones if RX FIFO level < N, otherwise all-zeroes 1 WRAP_BOTTOM After reaching wrap_top, execution is wrapped to this address. 7 5 read-write WRAP_TOP After reaching this address, execution is wrapped to wrap_bottom. If the instruction is a jump, and the jump condition is true, the jump takes priority. 12 5 read-write SM3_INSTR Read to see the instruction currently addressed by state machine 3's program counter Write to execute an instruction immediately (including jumps) and then resume execution. 0x120 32 read-write n 0x0 0x0 SM3_INSTR 0 16 read-write SM3_PINCTRL State machine pin control 0x124 32 read-write n 0x14000000 0x0 IN_BASE The pin which is mapped to the least-significant bit of a state machine's IN data bus. Higher-numbered pins are mapped to consecutively more-significant data bits, with a modulo of 32 applied to pin number. 15 5 read-write OUT_BASE The lowest-numbered pin that will be affected by an OUT PINS, OUT PINDIRS or MOV PINS instruction. The data written to this pin will always be the least-significant bit of the OUT or MOV data. 0 5 read-write OUT_COUNT The number of pins asserted by an OUT PINS, OUT PINDIRS or MOV PINS instruction. In the range 0 to 32 inclusive. 20 6 read-write SET_BASE The lowest-numbered pin that will be affected by a SET PINS or SET PINDIRS instruction. The data written to this pin is the least-significant bit of the SET data. 5 5 read-write SET_COUNT The number of pins asserted by a SET. In the range 0 to 5 inclusive. 26 3 read-write SIDESET_BASE The lowest-numbered pin that will be affected by a side-set operation. The MSBs of an instruction's side-set/delay field (up to 5, determined by SIDESET_COUNT) are used for side-set data, with the remaining LSBs used for delay. The least-significant bit of the side-set portion is the bit written to this pin, with more-significant bits written to higher-numbered pins. 10 5 read-write SIDESET_COUNT The number of MSBs of the Delay/Side-set instruction field which are used for side-set. Inclusive of the enable bit, if present. Minimum of 0 (all delay bits, no side-set) and maximum of 5 (all side-set, no delay). 29 3 read-write SM3_SHIFTCTRL Control behaviour of the input/output shift registers for state machine 3 0x118 32 read-write n 0xC0000 0x0 AUTOPULL Pull automatically when the output shift register is emptied, i.e. on or following an OUT instruction which causes the output shift counter to reach or exceed PULL_THRESH. 17 1 read-write AUTOPUSH Push automatically when the input shift register is filled, i.e. on an IN instruction which causes the input shift counter to reach or exceed PUSH_THRESH. 16 1 read-write FJOIN_RX When 1, RX FIFO steals the TX FIFO's storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 31 1 read-write FJOIN_TX When 1, TX FIFO steals the RX FIFO's storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 30 1 read-write IN_SHIFTDIR 1 = shift input shift register to right (data enters from left). 0 = to left. 18 1 read-write OUT_SHIFTDIR 1 = shift out of output shift register to right. 0 = to left. 19 1 read-write PULL_THRESH Number of bits shifted out of OSR before autopull, or conditional pull (PULL IFEMPTY), will take place. Write 0 for value of 32. 25 5 read-write PUSH_THRESH Number of bits shifted into ISR before autopush, or conditional push (PUSH IFFULL), will take place. Write 0 for value of 32. 20 5 read-write TXF0 Direct write access to the TX FIFO for this state machine. Each write pushes one word to the FIFO. Attempting to write to a full FIFO has no effect on the FIFO state or contents, and sets the sticky FDEBUG_TXOVER error flag for this FIFO. 0x10 32 write-only n 0x0 0x0 TXF1 Direct write access to the TX FIFO for this state machine. Each write pushes one word to the FIFO. Attempting to write to a full FIFO has no effect on the FIFO state or contents, and sets the sticky FDEBUG_TXOVER error flag for this FIFO. 0x14 32 write-only n 0x0 0x0 TXF2 Direct write access to the TX FIFO for this state machine. Each write pushes one word to the FIFO. Attempting to write to a full FIFO has no effect on the FIFO state or contents, and sets the sticky FDEBUG_TXOVER error flag for this FIFO. 0x18 32 write-only n 0x0 0x0 TXF3 Direct write access to the TX FIFO for this state machine. Each write pushes one word to the FIFO. Attempting to write to a full FIFO has no effect on the FIFO state or contents, and sets the sticky FDEBUG_TXOVER error flag for this FIFO. 0x1C 32 write-only n 0x0 0x0 PIO1 Programmable IO block PIO0 0x50300000 0x0 0x1000 registers n PIO1_IRQ_0 9 PIO1_IRQ_1 10 CTRL PIO control register 0x0 32 read-write n 0x0 0x0 CLKDIV_RESTART Restart a state machine's clock divider from an initial phase of 0. Clock dividers are free-running, so once started, their output (including fractional jitter) is completely determined by the integer/fractional divisor configured in SMx_CLKDIV. This means that, if multiple clock dividers with the same divisor are restarted simultaneously, by writing multiple 1 bits to this field, the execution clocks of those state machines will run in precise lockstep. Note that setting/clearing SM_ENABLE does not stop the clock divider from running, so once multiple state machines' clocks are synchronised, it is safe to disable/reenable a state machine, whilst keeping the clock dividers in sync. Note also that CLKDIV_RESTART can be written to whilst the state machine is running, and this is useful to resynchronise clock dividers after the divisors (SMx_CLKDIV) have been changed on-the-fly. 8 4 read-write clear SM_ENABLE Enable/disable each of the four state machines by writing 1/0 to each of these four bits. When disabled, a state machine will cease executing instructions, except those written directly to SMx_INSTR by the system. Multiple bits can be set/cleared at once to run/halt multiple state machines simultaneously. 0 4 read-write SM_RESTART Write 1 to instantly clear internal SM state which may be otherwise difficult to access and will affect future execution. Specifically, the following are cleared: input and output shift counters the contents of the input shift register the delay counter the waiting-on-IRQ state any stalled instruction written to SMx_INSTR or run by OUT/MOV EXEC any pin write left asserted due to OUT_STICKY. 4 4 read-write clear DBG_CFGINFO The PIO hardware has some free parameters that may vary between chip products. These should be provided in the chip datasheet, but are also exposed here. 0x44 32 read-write n 0x0 0x0 FIFO_DEPTH The depth of the state machine TX/RX FIFOs, measured in words. Joining fifos via SHIFTCTRL_FJOIN gives one FIFO with double this depth. 0 6 read-only IMEM_SIZE The size of the instruction memory, measured in units of one instruction 16 6 read-only SM_COUNT The number of state machines this PIO instance is equipped with. 8 4 read-only DBG_PADOE Read to sample the pad output enables (direction) PIO is currently driving to the GPIOs. On RP2040 there are 30 GPIOs, so the two most significant bits are hardwired to 0. 0x40 32 read-only n 0x0 0x0 DBG_PADOUT Read to sample the pad output values PIO is currently driving to the GPIOs. On RP2040 there are 30 GPIOs, so the two most significant bits are hardwired to 0. 0x3C 32 read-only n 0x0 0x0 FDEBUG FIFO debug register 0x8 32 read-write n 0x0 0x0 RXSTALL State machine has stalled on full RX FIFO during a blocking PUSH, or an IN with autopush enabled. This flag is also set when a nonblocking PUSH to a full FIFO took place, in which case the state machine has dropped data. Write 1 to clear. 0 4 read-write oneToClear RXUNDER RX FIFO underflow (i.e. read-on-empty by the system) has occurred. Write 1 to clear. Note that read-on-empty does not perturb the state of the FIFO in any way, but the data returned by reading from an empty FIFO is undefined, so this flag generally only becomes set due to some kind of software error. 8 4 read-write oneToClear TXOVER TX FIFO overflow (i.e. write-on-full by the system) has occurred. Write 1 to clear. Note that write-on-full does not alter the state or contents of the FIFO in any way, but the data that the system attempted to write is dropped, so if this flag is set, your software has quite likely dropped some data on the floor. 16 4 read-write oneToClear TXSTALL State machine has stalled on empty TX FIFO during a blocking PULL, or an OUT with autopull enabled. Write 1 to clear. 24 4 read-write oneToClear FLEVEL FIFO levels 0xC 32 read-write n 0x0 0x0 RX0 4 4 read-only RX1 12 4 read-only RX2 20 4 read-only RX3 28 4 read-only TX0 0 4 read-only TX1 8 4 read-only TX2 16 4 read-only TX3 24 4 read-only FSTAT FIFO status register 0x4 32 read-write n 0xF000F00 0x0 RXEMPTY State machine RX FIFO is empty 8 4 read-only RXFULL State machine RX FIFO is full 0 4 read-only TXEMPTY State machine TX FIFO is empty 24 4 read-only TXFULL State machine TX FIFO is full 16 4 read-only INPUT_SYNC_BYPASS There is a 2-flipflop synchronizer on each GPIO input, which protects PIO logic from metastabilities. This increases input delay, and for fast synchronous IO (e.g. SPI) these synchronizers may need to be bypassed. Each bit in this register corresponds to one GPIO. 0 -> input is synchronized (default) 1 -> synchronizer is bypassed If in doubt, leave this register as all zeroes. 0x38 32 read-write n 0x0 0x0 INSTR_MEM0 Write-only access to instruction memory location 0 0x48 32 read-write n 0x0 0x0 INSTR_MEM0 0 16 write-only INSTR_MEM1 Write-only access to instruction memory location 1 0x4C 32 read-write n 0x0 0x0 INSTR_MEM1 0 16 write-only INSTR_MEM10 Write-only access to instruction memory location 10 0x70 32 read-write n 0x0 0x0 INSTR_MEM10 0 16 write-only INSTR_MEM11 Write-only access to instruction memory location 11 0x74 32 read-write n 0x0 0x0 INSTR_MEM11 0 16 write-only INSTR_MEM12 Write-only access to instruction memory location 12 0x78 32 read-write n 0x0 0x0 INSTR_MEM12 0 16 write-only INSTR_MEM13 Write-only access to instruction memory location 13 0x7C 32 read-write n 0x0 0x0 INSTR_MEM13 0 16 write-only INSTR_MEM14 Write-only access to instruction memory location 14 0x80 32 read-write n 0x0 0x0 INSTR_MEM14 0 16 write-only INSTR_MEM15 Write-only access to instruction memory location 15 0x84 32 read-write n 0x0 0x0 INSTR_MEM15 0 16 write-only INSTR_MEM16 Write-only access to instruction memory location 16 0x88 32 read-write n 0x0 0x0 INSTR_MEM16 0 16 write-only INSTR_MEM17 Write-only access to instruction memory location 17 0x8C 32 read-write n 0x0 0x0 INSTR_MEM17 0 16 write-only INSTR_MEM18 Write-only access to instruction memory location 18 0x90 32 read-write n 0x0 0x0 INSTR_MEM18 0 16 write-only INSTR_MEM19 Write-only access to instruction memory location 19 0x94 32 read-write n 0x0 0x0 INSTR_MEM19 0 16 write-only INSTR_MEM2 Write-only access to instruction memory location 2 0x50 32 read-write n 0x0 0x0 INSTR_MEM2 0 16 write-only INSTR_MEM20 Write-only access to instruction memory location 20 0x98 32 read-write n 0x0 0x0 INSTR_MEM20 0 16 write-only INSTR_MEM21 Write-only access to instruction memory location 21 0x9C 32 read-write n 0x0 0x0 INSTR_MEM21 0 16 write-only INSTR_MEM22 Write-only access to instruction memory location 22 0xA0 32 read-write n 0x0 0x0 INSTR_MEM22 0 16 write-only INSTR_MEM23 Write-only access to instruction memory location 23 0xA4 32 read-write n 0x0 0x0 INSTR_MEM23 0 16 write-only INSTR_MEM24 Write-only access to instruction memory location 24 0xA8 32 read-write n 0x0 0x0 INSTR_MEM24 0 16 write-only INSTR_MEM25 Write-only access to instruction memory location 25 0xAC 32 read-write n 0x0 0x0 INSTR_MEM25 0 16 write-only INSTR_MEM26 Write-only access to instruction memory location 26 0xB0 32 read-write n 0x0 0x0 INSTR_MEM26 0 16 write-only INSTR_MEM27 Write-only access to instruction memory location 27 0xB4 32 read-write n 0x0 0x0 INSTR_MEM27 0 16 write-only INSTR_MEM28 Write-only access to instruction memory location 28 0xB8 32 read-write n 0x0 0x0 INSTR_MEM28 0 16 write-only INSTR_MEM29 Write-only access to instruction memory location 29 0xBC 32 read-write n 0x0 0x0 INSTR_MEM29 0 16 write-only INSTR_MEM3 Write-only access to instruction memory location 3 0x54 32 read-write n 0x0 0x0 INSTR_MEM3 0 16 write-only INSTR_MEM30 Write-only access to instruction memory location 30 0xC0 32 read-write n 0x0 0x0 INSTR_MEM30 0 16 write-only INSTR_MEM31 Write-only access to instruction memory location 31 0xC4 32 read-write n 0x0 0x0 INSTR_MEM31 0 16 write-only INSTR_MEM4 Write-only access to instruction memory location 4 0x58 32 read-write n 0x0 0x0 INSTR_MEM4 0 16 write-only INSTR_MEM5 Write-only access to instruction memory location 5 0x5C 32 read-write n 0x0 0x0 INSTR_MEM5 0 16 write-only INSTR_MEM6 Write-only access to instruction memory location 6 0x60 32 read-write n 0x0 0x0 INSTR_MEM6 0 16 write-only INSTR_MEM7 Write-only access to instruction memory location 7 0x64 32 read-write n 0x0 0x0 INSTR_MEM7 0 16 write-only INSTR_MEM8 Write-only access to instruction memory location 8 0x68 32 read-write n 0x0 0x0 INSTR_MEM8 0 16 write-only INSTR_MEM9 Write-only access to instruction memory location 9 0x6C 32 read-write n 0x0 0x0 INSTR_MEM9 0 16 write-only INTR Raw Interrupts 0x128 32 read-write n 0x0 0x0 SM0 8 1 read-only SM0_RXNEMPTY 0 1 read-only SM0_TXNFULL 4 1 read-only SM1 9 1 read-only SM1_RXNEMPTY 1 1 read-only SM1_TXNFULL 5 1 read-only SM2 10 1 read-only SM2_RXNEMPTY 2 1 read-only SM2_TXNFULL 6 1 read-only SM3 11 1 read-only SM3_RXNEMPTY 3 1 read-only SM3_TXNFULL 7 1 read-only IRQ State machine IRQ flags register. Write 1 to clear. There are 8 state machine IRQ flags, which can be set, cleared, and waited on by the state machines. There's no fixed association between flags and state machines -- any state machine can use any flag. Any of the 8 flags can be used for timing synchronisation between state machines, using IRQ and WAIT instructions. The lower four of these flags are also routed out to system-level interrupt requests, alongside FIFO status interrupts -- see e.g. IRQ0_INTE. 0x30 32 read-write n 0x0 0x0 IRQ 0 8 read-write oneToClear IRQ0_INTE Interrupt Enable for irq0 0x12C 32 read-write n 0x0 0x0 SM0 8 1 read-write SM0_RXNEMPTY 0 1 read-write SM0_TXNFULL 4 1 read-write SM1 9 1 read-write SM1_RXNEMPTY 1 1 read-write SM1_TXNFULL 5 1 read-write SM2 10 1 read-write SM2_RXNEMPTY 2 1 read-write SM2_TXNFULL 6 1 read-write SM3 11 1 read-write SM3_RXNEMPTY 3 1 read-write SM3_TXNFULL 7 1 read-write IRQ0_INTF Interrupt Force for irq0 0x130 32 read-write n 0x0 0x0 SM0 8 1 read-write SM0_RXNEMPTY 0 1 read-write SM0_TXNFULL 4 1 read-write SM1 9 1 read-write SM1_RXNEMPTY 1 1 read-write SM1_TXNFULL 5 1 read-write SM2 10 1 read-write SM2_RXNEMPTY 2 1 read-write SM2_TXNFULL 6 1 read-write SM3 11 1 read-write SM3_RXNEMPTY 3 1 read-write SM3_TXNFULL 7 1 read-write IRQ0_INTS Interrupt status after masking & forcing for irq0 0x134 32 read-write n 0x0 0x0 SM0 8 1 read-only SM0_RXNEMPTY 0 1 read-only SM0_TXNFULL 4 1 read-only SM1 9 1 read-only SM1_RXNEMPTY 1 1 read-only SM1_TXNFULL 5 1 read-only SM2 10 1 read-only SM2_RXNEMPTY 2 1 read-only SM2_TXNFULL 6 1 read-only SM3 11 1 read-only SM3_RXNEMPTY 3 1 read-only SM3_TXNFULL 7 1 read-only IRQ1_INTE Interrupt Enable for irq1 0x138 32 read-write n 0x0 0x0 SM0 8 1 read-write SM0_RXNEMPTY 0 1 read-write SM0_TXNFULL 4 1 read-write SM1 9 1 read-write SM1_RXNEMPTY 1 1 read-write SM1_TXNFULL 5 1 read-write SM2 10 1 read-write SM2_RXNEMPTY 2 1 read-write SM2_TXNFULL 6 1 read-write SM3 11 1 read-write SM3_RXNEMPTY 3 1 read-write SM3_TXNFULL 7 1 read-write IRQ1_INTF Interrupt Force for irq1 0x13C 32 read-write n 0x0 0x0 SM0 8 1 read-write SM0_RXNEMPTY 0 1 read-write SM0_TXNFULL 4 1 read-write SM1 9 1 read-write SM1_RXNEMPTY 1 1 read-write SM1_TXNFULL 5 1 read-write SM2 10 1 read-write SM2_RXNEMPTY 2 1 read-write SM2_TXNFULL 6 1 read-write SM3 11 1 read-write SM3_RXNEMPTY 3 1 read-write SM3_TXNFULL 7 1 read-write IRQ1_INTS Interrupt status after masking & forcing for irq1 0x140 32 read-write n 0x0 0x0 SM0 8 1 read-only SM0_RXNEMPTY 0 1 read-only SM0_TXNFULL 4 1 read-only SM1 9 1 read-only SM1_RXNEMPTY 1 1 read-only SM1_TXNFULL 5 1 read-only SM2 10 1 read-only SM2_RXNEMPTY 2 1 read-only SM2_TXNFULL 6 1 read-only SM3 11 1 read-only SM3_RXNEMPTY 3 1 read-only SM3_TXNFULL 7 1 read-only IRQ_FORCE Writing a 1 to each of these bits will forcibly assert the corresponding IRQ. Note this is different to the INTF register: writing here affects PIO internal state. INTF just asserts the processor-facing IRQ signal for testing ISRs, and is not visible to the state machines. 0x34 32 read-write n 0x0 0x0 IRQ_FORCE 0 8 write-only RXF0 Direct read access to the RX FIFO for this state machine. Each read pops one word from the FIFO. Attempting to read from an empty FIFO has no effect on the FIFO state, and sets the sticky FDEBUG_RXUNDER error flag for this FIFO. The data returned to the system on a read from an empty FIFO is undefined. 0x20 32 read-only n 0x0 0x0 RXF1 Direct read access to the RX FIFO for this state machine. Each read pops one word from the FIFO. Attempting to read from an empty FIFO has no effect on the FIFO state, and sets the sticky FDEBUG_RXUNDER error flag for this FIFO. The data returned to the system on a read from an empty FIFO is undefined. 0x24 32 read-only n 0x0 0x0 RXF2 Direct read access to the RX FIFO for this state machine. Each read pops one word from the FIFO. Attempting to read from an empty FIFO has no effect on the FIFO state, and sets the sticky FDEBUG_RXUNDER error flag for this FIFO. The data returned to the system on a read from an empty FIFO is undefined. 0x28 32 read-only n 0x0 0x0 RXF3 Direct read access to the RX FIFO for this state machine. Each read pops one word from the FIFO. Attempting to read from an empty FIFO has no effect on the FIFO state, and sets the sticky FDEBUG_RXUNDER error flag for this FIFO. The data returned to the system on a read from an empty FIFO is undefined. 0x2C 32 read-only n 0x0 0x0 SM0_ADDR Current instruction address of state machine 0 0xD4 32 read-write n 0x0 0x0 SM0_ADDR 0 5 read-only SM0_CLKDIV Clock divisor register for state machine 0 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256) 0xC8 32 read-write n 0x10000 0x0 FRAC Fractional part of clock divisor 8 8 read-write INT Effective frequency is sysclk/(int + frac/256). Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0. 16 16 read-write SM0_EXECCTRL Execution/behavioural settings for state machine 0 0xCC 32 read-write n 0x1F000 0x0 EXEC_STALLED If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. 31 1 read-only INLINE_OUT_EN If 1, use a bit of OUT data as an auxiliary write enable When used in conjunction with OUT_STICKY, writes with an enable of 0 will deassert the latest pin write. This can create useful masking/override behaviour due to the priority ordering of state machine pin writes (SM0 < SM1 < ...) 18 1 read-write JMP_PIN The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. 24 5 read-write OUT_EN_SEL Which data bit to use for inline OUT enable 19 5 read-write OUT_STICKY Continuously assert the most recent OUT/SET to the pins 17 1 read-write SIDE_EN If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. 30 1 read-write SIDE_PINDIR If 1, side-set data is asserted to pin directions, instead of pin values 29 1 read-write STATUS_N Comparison level for the MOV x, STATUS instruction 0 4 read-write STATUS_SEL Comparison used for the MOV x, STATUS instruction. 4 1 read-write TXLEVEL All-ones if TX FIFO level < N, otherwise all-zeroes 0 RXLEVEL All-ones if RX FIFO level < N, otherwise all-zeroes 1 WRAP_BOTTOM After reaching wrap_top, execution is wrapped to this address. 7 5 read-write WRAP_TOP After reaching this address, execution is wrapped to wrap_bottom. If the instruction is a jump, and the jump condition is true, the jump takes priority. 12 5 read-write SM0_INSTR Read to see the instruction currently addressed by state machine 0's program counter Write to execute an instruction immediately (including jumps) and then resume execution. 0xD8 32 read-write n 0x0 0x0 SM0_INSTR 0 16 read-write SM0_PINCTRL State machine pin control 0xDC 32 read-write n 0x14000000 0x0 IN_BASE The pin which is mapped to the least-significant bit of a state machine's IN data bus. Higher-numbered pins are mapped to consecutively more-significant data bits, with a modulo of 32 applied to pin number. 15 5 read-write OUT_BASE The lowest-numbered pin that will be affected by an OUT PINS, OUT PINDIRS or MOV PINS instruction. The data written to this pin will always be the least-significant bit of the OUT or MOV data. 0 5 read-write OUT_COUNT The number of pins asserted by an OUT PINS, OUT PINDIRS or MOV PINS instruction. In the range 0 to 32 inclusive. 20 6 read-write SET_BASE The lowest-numbered pin that will be affected by a SET PINS or SET PINDIRS instruction. The data written to this pin is the least-significant bit of the SET data. 5 5 read-write SET_COUNT The number of pins asserted by a SET. In the range 0 to 5 inclusive. 26 3 read-write SIDESET_BASE The lowest-numbered pin that will be affected by a side-set operation. The MSBs of an instruction's side-set/delay field (up to 5, determined by SIDESET_COUNT) are used for side-set data, with the remaining LSBs used for delay. The least-significant bit of the side-set portion is the bit written to this pin, with more-significant bits written to higher-numbered pins. 10 5 read-write SIDESET_COUNT The number of MSBs of the Delay/Side-set instruction field which are used for side-set. Inclusive of the enable bit, if present. Minimum of 0 (all delay bits, no side-set) and maximum of 5 (all side-set, no delay). 29 3 read-write SM0_SHIFTCTRL Control behaviour of the input/output shift registers for state machine 0 0xD0 32 read-write n 0xC0000 0x0 AUTOPULL Pull automatically when the output shift register is emptied, i.e. on or following an OUT instruction which causes the output shift counter to reach or exceed PULL_THRESH. 17 1 read-write AUTOPUSH Push automatically when the input shift register is filled, i.e. on an IN instruction which causes the input shift counter to reach or exceed PUSH_THRESH. 16 1 read-write FJOIN_RX When 1, RX FIFO steals the TX FIFO's storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 31 1 read-write FJOIN_TX When 1, TX FIFO steals the RX FIFO's storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 30 1 read-write IN_SHIFTDIR 1 = shift input shift register to right (data enters from left). 0 = to left. 18 1 read-write OUT_SHIFTDIR 1 = shift out of output shift register to right. 0 = to left. 19 1 read-write PULL_THRESH Number of bits shifted out of OSR before autopull, or conditional pull (PULL IFEMPTY), will take place. Write 0 for value of 32. 25 5 read-write PUSH_THRESH Number of bits shifted into ISR before autopush, or conditional push (PUSH IFFULL), will take place. Write 0 for value of 32. 20 5 read-write SM1_ADDR Current instruction address of state machine 1 0xEC 32 read-write n 0x0 0x0 SM1_ADDR 0 5 read-only SM1_CLKDIV Clock divisor register for state machine 1 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256) 0xE0 32 read-write n 0x10000 0x0 FRAC Fractional part of clock divisor 8 8 read-write INT Effective frequency is sysclk/(int + frac/256). Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0. 16 16 read-write SM1_EXECCTRL Execution/behavioural settings for state machine 1 0xE4 32 read-write n 0x1F000 0x0 EXEC_STALLED If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. 31 1 read-only INLINE_OUT_EN If 1, use a bit of OUT data as an auxiliary write enable When used in conjunction with OUT_STICKY, writes with an enable of 0 will deassert the latest pin write. This can create useful masking/override behaviour due to the priority ordering of state machine pin writes (SM0 < SM1 < ...) 18 1 read-write JMP_PIN The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. 24 5 read-write OUT_EN_SEL Which data bit to use for inline OUT enable 19 5 read-write OUT_STICKY Continuously assert the most recent OUT/SET to the pins 17 1 read-write SIDE_EN If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. 30 1 read-write SIDE_PINDIR If 1, side-set data is asserted to pin directions, instead of pin values 29 1 read-write STATUS_N Comparison level for the MOV x, STATUS instruction 0 4 read-write STATUS_SEL Comparison used for the MOV x, STATUS instruction. 4 1 read-write TXLEVEL All-ones if TX FIFO level < N, otherwise all-zeroes 0 RXLEVEL All-ones if RX FIFO level < N, otherwise all-zeroes 1 WRAP_BOTTOM After reaching wrap_top, execution is wrapped to this address. 7 5 read-write WRAP_TOP After reaching this address, execution is wrapped to wrap_bottom. If the instruction is a jump, and the jump condition is true, the jump takes priority. 12 5 read-write SM1_INSTR Read to see the instruction currently addressed by state machine 1's program counter Write to execute an instruction immediately (including jumps) and then resume execution. 0xF0 32 read-write n 0x0 0x0 SM1_INSTR 0 16 read-write SM1_PINCTRL State machine pin control 0xF4 32 read-write n 0x14000000 0x0 IN_BASE The pin which is mapped to the least-significant bit of a state machine's IN data bus. Higher-numbered pins are mapped to consecutively more-significant data bits, with a modulo of 32 applied to pin number. 15 5 read-write OUT_BASE The lowest-numbered pin that will be affected by an OUT PINS, OUT PINDIRS or MOV PINS instruction. The data written to this pin will always be the least-significant bit of the OUT or MOV data. 0 5 read-write OUT_COUNT The number of pins asserted by an OUT PINS, OUT PINDIRS or MOV PINS instruction. In the range 0 to 32 inclusive. 20 6 read-write SET_BASE The lowest-numbered pin that will be affected by a SET PINS or SET PINDIRS instruction. The data written to this pin is the least-significant bit of the SET data. 5 5 read-write SET_COUNT The number of pins asserted by a SET. In the range 0 to 5 inclusive. 26 3 read-write SIDESET_BASE The lowest-numbered pin that will be affected by a side-set operation. The MSBs of an instruction's side-set/delay field (up to 5, determined by SIDESET_COUNT) are used for side-set data, with the remaining LSBs used for delay. The least-significant bit of the side-set portion is the bit written to this pin, with more-significant bits written to higher-numbered pins. 10 5 read-write SIDESET_COUNT The number of MSBs of the Delay/Side-set instruction field which are used for side-set. Inclusive of the enable bit, if present. Minimum of 0 (all delay bits, no side-set) and maximum of 5 (all side-set, no delay). 29 3 read-write SM1_SHIFTCTRL Control behaviour of the input/output shift registers for state machine 1 0xE8 32 read-write n 0xC0000 0x0 AUTOPULL Pull automatically when the output shift register is emptied, i.e. on or following an OUT instruction which causes the output shift counter to reach or exceed PULL_THRESH. 17 1 read-write AUTOPUSH Push automatically when the input shift register is filled, i.e. on an IN instruction which causes the input shift counter to reach or exceed PUSH_THRESH. 16 1 read-write FJOIN_RX When 1, RX FIFO steals the TX FIFO's storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 31 1 read-write FJOIN_TX When 1, TX FIFO steals the RX FIFO's storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 30 1 read-write IN_SHIFTDIR 1 = shift input shift register to right (data enters from left). 0 = to left. 18 1 read-write OUT_SHIFTDIR 1 = shift out of output shift register to right. 0 = to left. 19 1 read-write PULL_THRESH Number of bits shifted out of OSR before autopull, or conditional pull (PULL IFEMPTY), will take place. Write 0 for value of 32. 25 5 read-write PUSH_THRESH Number of bits shifted into ISR before autopush, or conditional push (PUSH IFFULL), will take place. Write 0 for value of 32. 20 5 read-write SM2_ADDR Current instruction address of state machine 2 0x104 32 read-write n 0x0 0x0 SM2_ADDR 0 5 read-only SM2_CLKDIV Clock divisor register for state machine 2 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256) 0xF8 32 read-write n 0x10000 0x0 FRAC Fractional part of clock divisor 8 8 read-write INT Effective frequency is sysclk/(int + frac/256). Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0. 16 16 read-write SM2_EXECCTRL Execution/behavioural settings for state machine 2 0xFC 32 read-write n 0x1F000 0x0 EXEC_STALLED If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. 31 1 read-only INLINE_OUT_EN If 1, use a bit of OUT data as an auxiliary write enable When used in conjunction with OUT_STICKY, writes with an enable of 0 will deassert the latest pin write. This can create useful masking/override behaviour due to the priority ordering of state machine pin writes (SM0 < SM1 < ...) 18 1 read-write JMP_PIN The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. 24 5 read-write OUT_EN_SEL Which data bit to use for inline OUT enable 19 5 read-write OUT_STICKY Continuously assert the most recent OUT/SET to the pins 17 1 read-write SIDE_EN If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. 30 1 read-write SIDE_PINDIR If 1, side-set data is asserted to pin directions, instead of pin values 29 1 read-write STATUS_N Comparison level for the MOV x, STATUS instruction 0 4 read-write STATUS_SEL Comparison used for the MOV x, STATUS instruction. 4 1 read-write TXLEVEL All-ones if TX FIFO level < N, otherwise all-zeroes 0 RXLEVEL All-ones if RX FIFO level < N, otherwise all-zeroes 1 WRAP_BOTTOM After reaching wrap_top, execution is wrapped to this address. 7 5 read-write WRAP_TOP After reaching this address, execution is wrapped to wrap_bottom. If the instruction is a jump, and the jump condition is true, the jump takes priority. 12 5 read-write SM2_INSTR Read to see the instruction currently addressed by state machine 2's program counter Write to execute an instruction immediately (including jumps) and then resume execution. 0x108 32 read-write n 0x0 0x0 SM2_INSTR 0 16 read-write SM2_PINCTRL State machine pin control 0x10C 32 read-write n 0x14000000 0x0 IN_BASE The pin which is mapped to the least-significant bit of a state machine's IN data bus. Higher-numbered pins are mapped to consecutively more-significant data bits, with a modulo of 32 applied to pin number. 15 5 read-write OUT_BASE The lowest-numbered pin that will be affected by an OUT PINS, OUT PINDIRS or MOV PINS instruction. The data written to this pin will always be the least-significant bit of the OUT or MOV data. 0 5 read-write OUT_COUNT The number of pins asserted by an OUT PINS, OUT PINDIRS or MOV PINS instruction. In the range 0 to 32 inclusive. 20 6 read-write SET_BASE The lowest-numbered pin that will be affected by a SET PINS or SET PINDIRS instruction. The data written to this pin is the least-significant bit of the SET data. 5 5 read-write SET_COUNT The number of pins asserted by a SET. In the range 0 to 5 inclusive. 26 3 read-write SIDESET_BASE The lowest-numbered pin that will be affected by a side-set operation. The MSBs of an instruction's side-set/delay field (up to 5, determined by SIDESET_COUNT) are used for side-set data, with the remaining LSBs used for delay. The least-significant bit of the side-set portion is the bit written to this pin, with more-significant bits written to higher-numbered pins. 10 5 read-write SIDESET_COUNT The number of MSBs of the Delay/Side-set instruction field which are used for side-set. Inclusive of the enable bit, if present. Minimum of 0 (all delay bits, no side-set) and maximum of 5 (all side-set, no delay). 29 3 read-write SM2_SHIFTCTRL Control behaviour of the input/output shift registers for state machine 2 0x100 32 read-write n 0xC0000 0x0 AUTOPULL Pull automatically when the output shift register is emptied, i.e. on or following an OUT instruction which causes the output shift counter to reach or exceed PULL_THRESH. 17 1 read-write AUTOPUSH Push automatically when the input shift register is filled, i.e. on an IN instruction which causes the input shift counter to reach or exceed PUSH_THRESH. 16 1 read-write FJOIN_RX When 1, RX FIFO steals the TX FIFO's storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 31 1 read-write FJOIN_TX When 1, TX FIFO steals the RX FIFO's storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 30 1 read-write IN_SHIFTDIR 1 = shift input shift register to right (data enters from left). 0 = to left. 18 1 read-write OUT_SHIFTDIR 1 = shift out of output shift register to right. 0 = to left. 19 1 read-write PULL_THRESH Number of bits shifted out of OSR before autopull, or conditional pull (PULL IFEMPTY), will take place. Write 0 for value of 32. 25 5 read-write PUSH_THRESH Number of bits shifted into ISR before autopush, or conditional push (PUSH IFFULL), will take place. Write 0 for value of 32. 20 5 read-write SM3_ADDR Current instruction address of state machine 3 0x11C 32 read-write n 0x0 0x0 SM3_ADDR 0 5 read-only SM3_CLKDIV Clock divisor register for state machine 3 Frequency = clock freq / (CLKDIV_INT + CLKDIV_FRAC / 256) 0x110 32 read-write n 0x10000 0x0 FRAC Fractional part of clock divisor 8 8 read-write INT Effective frequency is sysclk/(int + frac/256). Value of 0 is interpreted as 65536. If INT is 0, FRAC must also be 0. 16 16 read-write SM3_EXECCTRL Execution/behavioural settings for state machine 3 0x114 32 read-write n 0x1F000 0x0 EXEC_STALLED If 1, an instruction written to SMx_INSTR is stalled, and latched by the state machine. Will clear to 0 once this instruction completes. 31 1 read-only INLINE_OUT_EN If 1, use a bit of OUT data as an auxiliary write enable When used in conjunction with OUT_STICKY, writes with an enable of 0 will deassert the latest pin write. This can create useful masking/override behaviour due to the priority ordering of state machine pin writes (SM0 < SM1 < ...) 18 1 read-write JMP_PIN The GPIO number to use as condition for JMP PIN. Unaffected by input mapping. 24 5 read-write OUT_EN_SEL Which data bit to use for inline OUT enable 19 5 read-write OUT_STICKY Continuously assert the most recent OUT/SET to the pins 17 1 read-write SIDE_EN If 1, the MSB of the Delay/Side-set instruction field is used as side-set enable, rather than a side-set data bit. This allows instructions to perform side-set optionally, rather than on every instruction, but the maximum possible side-set width is reduced from 5 to 4. Note that the value of PINCTRL_SIDESET_COUNT is inclusive of this enable bit. 30 1 read-write SIDE_PINDIR If 1, side-set data is asserted to pin directions, instead of pin values 29 1 read-write STATUS_N Comparison level for the MOV x, STATUS instruction 0 4 read-write STATUS_SEL Comparison used for the MOV x, STATUS instruction. 4 1 read-write TXLEVEL All-ones if TX FIFO level < N, otherwise all-zeroes 0 RXLEVEL All-ones if RX FIFO level < N, otherwise all-zeroes 1 WRAP_BOTTOM After reaching wrap_top, execution is wrapped to this address. 7 5 read-write WRAP_TOP After reaching this address, execution is wrapped to wrap_bottom. If the instruction is a jump, and the jump condition is true, the jump takes priority. 12 5 read-write SM3_INSTR Read to see the instruction currently addressed by state machine 3's program counter Write to execute an instruction immediately (including jumps) and then resume execution. 0x120 32 read-write n 0x0 0x0 SM3_INSTR 0 16 read-write SM3_PINCTRL State machine pin control 0x124 32 read-write n 0x14000000 0x0 IN_BASE The pin which is mapped to the least-significant bit of a state machine's IN data bus. Higher-numbered pins are mapped to consecutively more-significant data bits, with a modulo of 32 applied to pin number. 15 5 read-write OUT_BASE The lowest-numbered pin that will be affected by an OUT PINS, OUT PINDIRS or MOV PINS instruction. The data written to this pin will always be the least-significant bit of the OUT or MOV data. 0 5 read-write OUT_COUNT The number of pins asserted by an OUT PINS, OUT PINDIRS or MOV PINS instruction. In the range 0 to 32 inclusive. 20 6 read-write SET_BASE The lowest-numbered pin that will be affected by a SET PINS or SET PINDIRS instruction. The data written to this pin is the least-significant bit of the SET data. 5 5 read-write SET_COUNT The number of pins asserted by a SET. In the range 0 to 5 inclusive. 26 3 read-write SIDESET_BASE The lowest-numbered pin that will be affected by a side-set operation. The MSBs of an instruction's side-set/delay field (up to 5, determined by SIDESET_COUNT) are used for side-set data, with the remaining LSBs used for delay. The least-significant bit of the side-set portion is the bit written to this pin, with more-significant bits written to higher-numbered pins. 10 5 read-write SIDESET_COUNT The number of MSBs of the Delay/Side-set instruction field which are used for side-set. Inclusive of the enable bit, if present. Minimum of 0 (all delay bits, no side-set) and maximum of 5 (all side-set, no delay). 29 3 read-write SM3_SHIFTCTRL Control behaviour of the input/output shift registers for state machine 3 0x118 32 read-write n 0xC0000 0x0 AUTOPULL Pull automatically when the output shift register is emptied, i.e. on or following an OUT instruction which causes the output shift counter to reach or exceed PULL_THRESH. 17 1 read-write AUTOPUSH Push automatically when the input shift register is filled, i.e. on an IN instruction which causes the input shift counter to reach or exceed PUSH_THRESH. 16 1 read-write FJOIN_RX When 1, RX FIFO steals the TX FIFO's storage, and becomes twice as deep. TX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 31 1 read-write FJOIN_TX When 1, TX FIFO steals the RX FIFO's storage, and becomes twice as deep. RX FIFO is disabled as a result (always reads as both full and empty). FIFOs are flushed when this bit is changed. 30 1 read-write IN_SHIFTDIR 1 = shift input shift register to right (data enters from left). 0 = to left. 18 1 read-write OUT_SHIFTDIR 1 = shift out of output shift register to right. 0 = to left. 19 1 read-write PULL_THRESH Number of bits shifted out of OSR before autopull, or conditional pull (PULL IFEMPTY), will take place. Write 0 for value of 32. 25 5 read-write PUSH_THRESH Number of bits shifted into ISR before autopush, or conditional push (PUSH IFFULL), will take place. Write 0 for value of 32. 20 5 read-write TXF0 Direct write access to the TX FIFO for this state machine. Each write pushes one word to the FIFO. Attempting to write to a full FIFO has no effect on the FIFO state or contents, and sets the sticky FDEBUG_TXOVER error flag for this FIFO. 0x10 32 write-only n 0x0 0x0 TXF1 Direct write access to the TX FIFO for this state machine. Each write pushes one word to the FIFO. Attempting to write to a full FIFO has no effect on the FIFO state or contents, and sets the sticky FDEBUG_TXOVER error flag for this FIFO. 0x14 32 write-only n 0x0 0x0 TXF2 Direct write access to the TX FIFO for this state machine. Each write pushes one word to the FIFO. Attempting to write to a full FIFO has no effect on the FIFO state or contents, and sets the sticky FDEBUG_TXOVER error flag for this FIFO. 0x18 32 write-only n 0x0 0x0 TXF3 Direct write access to the TX FIFO for this state machine. Each write pushes one word to the FIFO. Attempting to write to a full FIFO has no effect on the FIFO state or contents, and sets the sticky FDEBUG_TXOVER error flag for this FIFO. 0x1C 32 write-only n 0x0 0x0 PLL_SYS PLL_SYS 0x40028000 0x0 0x1000 registers n CS Control and Status GENERAL CONSTRAINTS: Reference clock frequency min=5MHz, max=800MHz Feedback divider min=16, max=320 VCO frequency min=750MHz, max=1600MHz 0x0 32 read-write n 0x1 0x0 BYPASS Passes the reference clock to the output instead of the divided VCO. The VCO continues to run so the user can switch between the reference clock and the divided VCO but the output will glitch when doing so. 8 1 read-write LOCK PLL is locked 31 1 read-only REFDIV Divides the PLL input reference clock. Behaviour is undefined for div=0. PLL output will be unpredictable during refdiv changes, wait for lock=1 before using it. 0 6 read-write FBDIV_INT Feedback divisor (note: this PLL does not support fractional division) 0x8 32 read-write n 0x0 0x0 FBDIV_INT see ctrl reg description for constraints 0 12 read-write PRIM Controls the PLL post dividers for the primary output (note: this PLL does not have a secondary output) the primary output is driven from VCO divided by postdiv1*postdiv2 0xC 32 read-write n 0x77000 0x0 POSTDIV1 divide by 1-7 16 3 read-write POSTDIV2 divide by 1-7 12 3 read-write PWR Controls the PLL power modes. 0x4 32 read-write n 0x2D 0x0 DSMPD PLL DSM powerdown Nothing is achieved by setting this low. 2 1 read-write PD PLL powerdown To save power set high when PLL output not required. 0 1 read-write POSTDIVPD PLL post divider powerdown To save power set high when PLL output not required or bypass=1. 3 1 read-write VCOPD PLL VCO powerdown To save power set high when PLL output not required or bypass=1. 5 1 read-write PLL_USB PLL_SYS 0x4002C000 0x0 0x1000 registers n CS Control and Status GENERAL CONSTRAINTS: Reference clock frequency min=5MHz, max=800MHz Feedback divider min=16, max=320 VCO frequency min=750MHz, max=1600MHz 0x0 32 read-write n 0x1 0x0 BYPASS Passes the reference clock to the output instead of the divided VCO. The VCO continues to run so the user can switch between the reference clock and the divided VCO but the output will glitch when doing so. 8 1 read-write LOCK PLL is locked 31 1 read-only REFDIV Divides the PLL input reference clock. Behaviour is undefined for div=0. PLL output will be unpredictable during refdiv changes, wait for lock=1 before using it. 0 6 read-write FBDIV_INT Feedback divisor (note: this PLL does not support fractional division) 0x8 32 read-write n 0x0 0x0 FBDIV_INT see ctrl reg description for constraints 0 12 read-write PRIM Controls the PLL post dividers for the primary output (note: this PLL does not have a secondary output) the primary output is driven from VCO divided by postdiv1*postdiv2 0xC 32 read-write n 0x77000 0x0 POSTDIV1 divide by 1-7 16 3 read-write POSTDIV2 divide by 1-7 12 3 read-write PWR Controls the PLL power modes. 0x4 32 read-write n 0x2D 0x0 DSMPD PLL DSM powerdown Nothing is achieved by setting this low. 2 1 read-write PD PLL powerdown To save power set high when PLL output not required. 0 1 read-write POSTDIVPD PLL post divider powerdown To save power set high when PLL output not required or bypass=1. 3 1 read-write VCOPD PLL VCO powerdown To save power set high when PLL output not required or bypass=1. 5 1 read-write PPB PPB 0xE0000000 0x0 0x10000 registers n AIRCR Use the Application Interrupt and Reset Control Register to: determine data endianness, clear all active state information from debug halt mode, request a system reset. 0xED0C 32 read-write n 0x0 0x0 ENDIANESS Data endianness implemented: 0 = Little-endian. 15 1 read-only SYSRESETREQ Writing 1 to this bit causes the SYSRESETREQ signal to the outer system to be asserted to request a reset. The intention is to force a large system reset of all major components except for debug. The C_HALT bit in the DHCSR is cleared as a result of the system reset requested. The debugger does not lose contact with the device. 2 1 read-write VECTCLRACTIVE Clears all active state information for fixed and configurable exceptions. This bit: is self-clearing, can only be set by the DAP when the core is halted. When set: clears all active exception status of the processor, forces a return to Thread mode, forces an IPSR of 0. A debugger must re-initialize the stack. 1 1 read-write VECTKEY Register key: Reads as Unknown On writes, write 0x05FA to VECTKEY, otherwise the write is ignored. 16 16 read-write CCR The Configuration and Control Register permanently enables stack alignment and causes unaligned accesses to result in a Hard Fault. 0xED14 32 read-write n 0x0 0x0 STKALIGN Always reads as one, indicates 8-byte stack alignment on exception entry. On exception entry, the processor uses bit[9] of the stacked PSR to indicate the stack alignment. On return from the exception it uses this stacked bit to restore the correct stack alignment. 9 1 read-only UNALIGN_TRP Always reads as one, indicates that all unaligned accesses generate a HardFault. 3 1 read-only CPUID Read the CPU ID Base Register to determine: the ID number of the processor core, the version number of the processor core, the implementation details of the processor core. 0xED00 32 read-write n 0x410CC601 0x0 ARCHITECTURE Constant that defines the architecture of the processor: 0xC = ARMv6-M architecture. 16 4 read-only IMPLEMENTER Implementor code: 0x41 = ARM 24 8 read-only PARTNO Number of processor within family: 0xC60 = Cortex-M0+ 4 12 read-only REVISION Minor revision number m in the rnpm revision status: 0x1 = Patch 1. 0 4 read-only VARIANT Major revision number n in the rnpm revision status: 0x0 = Revision 0. 20 4 read-only ICSR Use the Interrupt Control State Register to set a pending Non-Maskable Interrupt (NMI), set or clear a pending PendSV, set or clear a pending SysTick, check for pending exceptions, check the vector number of the highest priority pended exception, check the vector number of the active exception. 0xED04 32 read-write n 0x0 0x0 ISRPENDING External interrupt pending flag 22 1 read-only ISRPREEMPT The system can only access this bit when the core is halted. It indicates that a pending interrupt is to be taken in the next running cycle. If C_MASKINTS is clear in the Debug Halting Control and Status Register, the interrupt is serviced. 23 1 read-only NMIPENDSET Setting this bit will activate an NMI. Since NMI is the highest priority exception, it will activate as soon as it is registered. NMI set-pending bit. Write: 0 = No effect. 1 = Changes NMI exception state to pending. Read: 0 = NMI exception is not pending. 1 = NMI exception is pending. Because NMI is the highest-priority exception, normally the processor enters the NMI exception handler as soon as it detects a write of 1 to this bit. Entering the handler then clears this bit to 0. This means a read of this bit by the NMI exception handler returns 1 only if the NMI signal is reasserted while the processor is executing that handler. 31 1 read-write PENDSTCLR SysTick exception clear-pending bit. Write: 0 = No effect. 1 = Removes the pending state from the SysTick exception. This bit is WO. On a register read its value is Unknown. 25 1 read-write PENDSTSET SysTick exception set-pending bit. Write: 0 = No effect. 1 = Changes SysTick exception state to pending. Read: 0 = SysTick exception is not pending. 1 = SysTick exception is pending. 26 1 read-write PENDSVCLR PendSV clear-pending bit. Write: 0 = No effect. 1 = Removes the pending state from the PendSV exception. 27 1 read-write PENDSVSET PendSV set-pending bit. Write: 0 = No effect. 1 = Changes PendSV exception state to pending. Read: 0 = PendSV exception is not pending. 1 = PendSV exception is pending. Writing 1 to this bit is the only way to set the PendSV exception state to pending. 28 1 read-write VECTACTIVE Active exception number field. Reset clears the VECTACTIVE field. 0 9 read-only VECTPENDING Indicates the exception number for the highest priority pending exception: 0 = no pending exceptions. Non zero = The pending state includes the effect of memory-mapped enable and mask registers. It does not include the PRIMASK special-purpose register qualifier. 12 9 read-only MPU_CTRL Use the MPU Control Register to enable and disable the MPU, and to control whether the default memory map is enabled as a background region for privileged accesses, and whether the MPU is enabled for HardFaults and NMIs. 0xED94 32 read-write n 0x0 0x0 ENABLE Enables the MPU. If the MPU is disabled, privileged and unprivileged accesses use the default memory map. 0 = MPU disabled. 1 = MPU enabled. 0 1 read-write HFNMIENA Controls the use of the MPU for HardFaults and NMIs. Setting this bit when ENABLE is clear results in UNPREDICTABLE behaviour. When the MPU is enabled: 0 = MPU is disabled during HardFault and NMI handlers, regardless of the value of the ENABLE bit. 1 = the MPU is enabled during HardFault and NMI handlers. 1 1 read-write PRIVDEFENA Controls whether the default memory map is enabled as a background region for privileged accesses. This bit is ignored when ENABLE is clear. 0 = If the MPU is enabled, disables use of the default memory map. Any memory access to a location not covered by any enabled region causes a fault. 1 = If the MPU is enabled, enables use of the default memory map as a background region for privileged software accesses. When enabled, the background region acts as if it is region number -1. Any region that is defined and enabled has priority over this default map. 2 1 read-write MPU_RASR Use the MPU Region Attribute and Size Register to define the size, access behaviour and memory type of the region identified by MPU_RNR, and enable that region. 0xEDA0 32 read-write n 0x0 0x0 ATTRS The MPU Region Attribute field. Use to define the region attribute control. 28 = XN: Instruction access disable bit: 0 = Instruction fetches enabled. 1 = Instruction fetches disabled. 26:24 = AP: Access permission field 18 = S: Shareable bit 17 = C: Cacheable bit 16 = B: Bufferable bit 16 16 read-write ENABLE Enables the region. 0 1 read-write SIZE Indicates the region size. Region size in bytes = 2^(SIZE+1). The minimum permitted value is 7 (b00111) = 256Bytes 1 5 read-write SRD Subregion Disable. For regions of 256 bytes or larger, each bit of this field controls whether one of the eight equal subregions is enabled. 8 8 read-write MPU_RBAR Read the MPU Region Base Address Register to determine the base address of the region identified by MPU_RNR. Write to update the base address of said region or that of a specified region, with whose number MPU_RNR will also be updated. 0xED9C 32 read-write n 0x0 0x0 ADDR Base address of the region. 8 24 read-write REGION On writes, specifies the number of the region whose base address to update provided VALID is set written as 1. On reads, returns bits [3:0] of MPU_RNR. 0 4 read-write VALID On writes, indicates whether the write must update the base address of the region identified by the REGION field, updating the MPU_RNR to indicate this new region. Write: 0 = MPU_RNR not changed, and the processor: Updates the base address for the region specified in the MPU_RNR. Ignores the value of the REGION field. 1 = The processor: Updates the value of the MPU_RNR to the value of the REGION field. Updates the base address for the region specified in the REGION field. Always reads as zero. 4 1 read-write MPU_RNR Use the MPU Region Number Register to select the region currently accessed by MPU_RBAR and MPU_RASR. 0xED98 32 read-write n 0x0 0x0 REGION Indicates the MPU region referenced by the MPU_RBAR and MPU_RASR registers. The MPU supports 8 memory regions, so the permitted values of this field are 0-7. 0 4 read-write MPU_TYPE Read the MPU Type Register to determine if the processor implements an MPU, and how many regions the MPU supports. 0xED90 32 read-write n 0x800 0x0 DREGION Number of regions supported by the MPU. 8 8 read-only IREGION Instruction region. Reads as zero as ARMv6-M only supports a unified MPU. 16 8 read-only SEPARATE Indicates support for separate instruction and data address maps. Reads as 0 as ARMv6-M only supports a unified MPU. 0 1 read-only NVIC_ICER Use the Interrupt Clear-Enable Registers to disable interrupts and determine which interrupts are currently enabled. 0xE180 32 read-write n 0x0 0x0 CLRENA Interrupt clear-enable bits. Write: 0 = No effect. 1 = Disable interrupt. Read: 0 = Interrupt disabled. 1 = Interrupt enabled. 0 32 read-write NVIC_ICPR Use the Interrupt Clear-Pending Register to clear pending interrupts and determine which interrupts are currently pending. 0xE280 32 read-write n 0x0 0x0 CLRPEND Interrupt clear-pending bits. Write: 0 = No effect. 1 = Removes pending state and interrupt. Read: 0 = Interrupt is not pending. 1 = Interrupt is pending. 0 32 read-write NVIC_IPR0 Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest. Note: Writing 1 to an NVIC_ICPR bit does not affect the active state of the corresponding interrupt. These registers are only word-accessible 0xE400 32 read-write n 0x0 0x0 IP_0 Priority of interrupt 0 6 2 read-write IP_1 Priority of interrupt 1 14 2 read-write IP_2 Priority of interrupt 2 22 2 read-write IP_3 Priority of interrupt 3 30 2 read-write NVIC_IPR1 Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest. 0xE404 32 read-write n 0x0 0x0 IP_4 Priority of interrupt 4 6 2 read-write IP_5 Priority of interrupt 5 14 2 read-write IP_6 Priority of interrupt 6 22 2 read-write IP_7 Priority of interrupt 7 30 2 read-write NVIC_IPR2 Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest. 0xE408 32 read-write n 0x0 0x0 IP_10 Priority of interrupt 10 22 2 read-write IP_11 Priority of interrupt 11 30 2 read-write IP_8 Priority of interrupt 8 6 2 read-write IP_9 Priority of interrupt 9 14 2 read-write NVIC_IPR3 Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest. 0xE40C 32 read-write n 0x0 0x0 IP_12 Priority of interrupt 12 6 2 read-write IP_13 Priority of interrupt 13 14 2 read-write IP_14 Priority of interrupt 14 22 2 read-write IP_15 Priority of interrupt 15 30 2 read-write NVIC_IPR4 Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest. 0xE410 32 read-write n 0x0 0x0 IP_16 Priority of interrupt 16 6 2 read-write IP_17 Priority of interrupt 17 14 2 read-write IP_18 Priority of interrupt 18 22 2 read-write IP_19 Priority of interrupt 19 30 2 read-write NVIC_IPR5 Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest. 0xE414 32 read-write n 0x0 0x0 IP_20 Priority of interrupt 20 6 2 read-write IP_21 Priority of interrupt 21 14 2 read-write IP_22 Priority of interrupt 22 22 2 read-write IP_23 Priority of interrupt 23 30 2 read-write NVIC_IPR6 Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest. 0xE418 32 read-write n 0x0 0x0 IP_24 Priority of interrupt 24 6 2 read-write IP_25 Priority of interrupt 25 14 2 read-write IP_26 Priority of interrupt 26 22 2 read-write IP_27 Priority of interrupt 27 30 2 read-write NVIC_IPR7 Use the Interrupt Priority Registers to assign a priority from 0 to 3 to each of the available interrupts. 0 is the highest priority, and 3 is the lowest. 0xE41C 32 read-write n 0x0 0x0 IP_28 Priority of interrupt 28 6 2 read-write IP_29 Priority of interrupt 29 14 2 read-write IP_30 Priority of interrupt 30 22 2 read-write IP_31 Priority of interrupt 31 30 2 read-write NVIC_ISER Use the Interrupt Set-Enable Register to enable interrupts and determine which interrupts are currently enabled. If a pending interrupt is enabled, the NVIC activates the interrupt based on its priority. If an interrupt is not enabled, asserting its interrupt signal changes the interrupt state to pending, but the NVIC never activates the interrupt, regardless of its priority. 0xE100 32 read-write n 0x0 0x0 SETENA Interrupt set-enable bits. Write: 0 = No effect. 1 = Enable interrupt. Read: 0 = Interrupt disabled. 1 = Interrupt enabled. 0 32 read-write NVIC_ISPR The NVIC_ISPR forces interrupts into the pending state, and shows which interrupts are pending. 0xE200 32 read-write n 0x0 0x0 SETPEND Interrupt set-pending bits. Write: 0 = No effect. 1 = Changes interrupt state to pending. Read: 0 = Interrupt is not pending. 1 = Interrupt is pending. Note: Writing 1 to the NVIC_ISPR bit corresponding to: An interrupt that is pending has no effect. A disabled interrupt sets the state of that interrupt to pending. 0 32 read-write SCR System Control Register. Use the System Control Register for power-management functions: signal to the system when the processor can enter a low power state, control how the processor enters and exits low power states. 0xED10 32 read-write n 0x0 0x0 SEVONPEND Send Event on Pending bit: 0 = Only enabled interrupts or events can wakeup the processor, disabled interrupts are excluded. 1 = Enabled events and all interrupts, including disabled interrupts, can wakeup the processor. When an event or interrupt becomes pending, the event signal wakes up the processor from WFE. If the processor is not waiting for an event, the event is registered and affects the next WFE. The processor also wakes up on execution of an SEV instruction or an external event. 4 1 read-write SLEEPDEEP Controls whether the processor uses sleep or deep sleep as its low power mode: 0 = Sleep. 1 = Deep sleep. 2 1 read-write SLEEPONEXIT Indicates sleep-on-exit when returning from Handler mode to Thread mode: 0 = Do not sleep when returning to Thread mode. 1 = Enter sleep, or deep sleep, on return from an ISR to Thread mode. Setting this bit to 1 enables an interrupt driven application to avoid returning to an empty main application. 1 1 read-write SHCSR Use the System Handler Control and State Register to determine or clear the pending status of SVCall. 0xED24 32 read-write n 0x0 0x0 SVCALLPENDED Reads as 1 if SVCall is Pending. Write 1 to set pending SVCall, write 0 to clear pending SVCall. 15 1 read-write SHPR2 System handlers are a special class of exception handler that can have their priority set to any of the priority levels. Use the System Handler Priority Register 2 to set the priority of SVCall. 0xED1C 32 read-write n 0x0 0x0 PRI_11 Priority of system handler 11, SVCall 30 2 read-write SHPR3 System handlers are a special class of exception handler that can have their priority set to any of the priority levels. Use the System Handler Priority Register 3 to set the priority of PendSV and SysTick. 0xED20 32 read-write n 0x0 0x0 PRI_14 Priority of system handler 14, PendSV 22 2 read-write PRI_15 Priority of system handler 15, SysTick 30 2 read-write SYST_CALIB Use the SysTick Calibration Value Register to enable software to scale to any required speed using divide and multiply. 0xE01C 32 read-write n 0x0 0x0 NOREF If reads as 1, the Reference clock is not provided - the CLKSOURCE bit of the SysTick Control and Status register will be forced to 1 and cannot be cleared to 0. 31 1 read-only SKEW If reads as 1, the calibration value for 10ms is inexact (due to clock frequency). 30 1 read-only TENMS An optional Reload value to be used for 10ms (100Hz) timing, subject to system clock skew errors. If the value reads as 0, the calibration value is not known. 0 24 read-only SYST_CSR Use the SysTick Control and Status Register to enable the SysTick features. 0xE010 32 read-write n 0x0 0x0 CLKSOURCE SysTick clock source. Always reads as one if SYST_CALIB reports NOREF. Selects the SysTick timer clock source: 0 = External reference clock. 1 = Processor clock. 2 1 read-write COUNTFLAG Returns 1 if timer counted to 0 since last time this was read. Clears on read by application or debugger. 16 1 read-only ENABLE Enable SysTick counter: 0 = Counter disabled. 1 = Counter enabled. 0 1 read-write TICKINT Enables SysTick exception request: 0 = Counting down to zero does not assert the SysTick exception request. 1 = Counting down to zero to asserts the SysTick exception request. 1 1 read-write SYST_CVR Use the SysTick Current Value Register to find the current value in the register. The reset value of this register is UNKNOWN. 0xE018 32 read-write n 0x0 0x0 CURRENT Reads return the current value of the SysTick counter. This register is write-clear. Writing to it with any value clears the register to 0. Clearing this register also clears the COUNTFLAG bit of the SysTick Control and Status Register. 0 24 read-write SYST_RVR Use the SysTick Reload Value Register to specify the start value to load into the current value register when the counter reaches 0. It can be any value between 0 and 0x00FFFFFF. A start value of 0 is possible, but has no effect because the SysTick interrupt and COUNTFLAG are activated when counting from 1 to 0. The reset value of this register is UNKNOWN. To generate a multi-shot timer with a period of N processor clock cycles, use a RELOAD value of N-1. For example, if the SysTick interrupt is required every 100 clock pulses, set RELOAD to 99. 0xE014 32 read-write n 0x0 0x0 RELOAD Value to load into the SysTick Current Value Register when the counter reaches 0. 0 24 read-write VTOR The VTOR holds the vector table offset address. 0xED08 32 read-write n 0x0 0x0 TBLOFF Bits [31:8] of the indicate the vector table offset address. 8 24 read-write PSM PSM 0x40010000 0x0 0x1000 registers n DONE Indicates the peripheral's registers are ready to access. 0xC 32 read-write n 0x0 0x0 busfabric 4 1 read-only clocks 2 1 read-only proc0 15 1 read-only proc1 16 1 read-only resets 3 1 read-only rom 5 1 read-only rosc 0 1 read-only sio 14 1 read-only sram0 6 1 read-only sram1 7 1 read-only sram2 8 1 read-only sram3 9 1 read-only sram4 10 1 read-only sram5 11 1 read-only vreg_and_chip_reset 13 1 read-only xip 12 1 read-only xosc 1 1 read-only FRCE_OFF Force into reset (i.e. power it off) 0x4 32 read-write n 0x0 0x0 busfabric 4 1 read-write clocks 2 1 read-write proc0 15 1 read-write proc1 16 1 read-write resets 3 1 read-write rom 5 1 read-write rosc 0 1 read-write sio 14 1 read-write sram0 6 1 read-write sram1 7 1 read-write sram2 8 1 read-write sram3 9 1 read-write sram4 10 1 read-write sram5 11 1 read-write vreg_and_chip_reset 13 1 read-write xip 12 1 read-write xosc 1 1 read-write FRCE_ON Force block out of reset (i.e. power it on) 0x0 32 read-write n 0x0 0x0 busfabric 4 1 read-write clocks 2 1 read-write proc0 15 1 read-write proc1 16 1 read-write resets 3 1 read-write rom 5 1 read-write rosc 0 1 read-write sio 14 1 read-write sram0 6 1 read-write sram1 7 1 read-write sram2 8 1 read-write sram3 9 1 read-write sram4 10 1 read-write sram5 11 1 read-write vreg_and_chip_reset 13 1 read-write xip 12 1 read-write xosc 1 1 read-write WDSEL Set to 1 if this peripheral should be reset when the watchdog fires. 0x8 32 read-write n 0x0 0x0 busfabric 4 1 read-write clocks 2 1 read-write proc0 15 1 read-write proc1 16 1 read-write resets 3 1 read-write rom 5 1 read-write rosc 0 1 read-write sio 14 1 read-write sram0 6 1 read-write sram1 7 1 read-write sram2 8 1 read-write sram3 9 1 read-write sram4 10 1 read-write sram5 11 1 read-write vreg_and_chip_reset 13 1 read-write xip 12 1 read-write xosc 1 1 read-write PWM Simple PWM PWM 0x40050000 0x0 0x1000 registers n PWM_IRQ_WRAP 4 CH0_CC Counter compare values 0xC 32 read-write n 0x0 0x0 A 0 16 read-write B 16 16 read-write CH0_CSR Control and status register 0x0 32 read-write n 0x0 0x0 A_INV Invert output A 2 1 read-write B_INV Invert output B 3 1 read-write DIVMODE 4 2 read-write div Free-running counting at rate dictated by fractional divider 0 level Fractional divider operation is gated by the PWM B pin. 1 rise Counter advances with each rising edge of the PWM B pin. 2 fall Counter advances with each falling edge of the PWM B pin. 3 EN Enable the PWM channel. 0 1 read-write PH_ADV Advance the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running at less than full speed (div_int + div_frac / 16 > 1) 7 1 read-write clear PH_CORRECT 1: Enable phase-correct modulation. 0: Trailing-edge 1 1 read-write PH_RET Retard the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running. 6 1 read-write clear CH0_CTR Direct access to the PWM counter 0x8 32 read-write n 0x0 0x0 CH0_CTR 0 16 read-write CH0_DIV INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta. 0x4 32 read-write n 0x10 0x0 FRAC 0 4 read-write INT 4 8 read-write CH0_TOP Counter wrap value 0x10 32 read-write n 0xFFFF 0x0 CH0_TOP 0 16 read-write CH1_CC Counter compare values 0x20 32 read-write n 0x0 0x0 A 0 16 read-write B 16 16 read-write CH1_CSR Control and status register 0x14 32 read-write n 0x0 0x0 A_INV Invert output A 2 1 read-write B_INV Invert output B 3 1 read-write DIVMODE 4 2 read-write div Free-running counting at rate dictated by fractional divider 0 level Fractional divider operation is gated by the PWM B pin. 1 rise Counter advances with each rising edge of the PWM B pin. 2 fall Counter advances with each falling edge of the PWM B pin. 3 EN Enable the PWM channel. 0 1 read-write PH_ADV Advance the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running at less than full speed (div_int + div_frac / 16 > 1) 7 1 read-write clear PH_CORRECT 1: Enable phase-correct modulation. 0: Trailing-edge 1 1 read-write PH_RET Retard the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running. 6 1 read-write clear CH1_CTR Direct access to the PWM counter 0x1C 32 read-write n 0x0 0x0 CH1_CTR 0 16 read-write CH1_DIV INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta. 0x18 32 read-write n 0x10 0x0 FRAC 0 4 read-write INT 4 8 read-write CH1_TOP Counter wrap value 0x24 32 read-write n 0xFFFF 0x0 CH1_TOP 0 16 read-write CH2_CC Counter compare values 0x34 32 read-write n 0x0 0x0 A 0 16 read-write B 16 16 read-write CH2_CSR Control and status register 0x28 32 read-write n 0x0 0x0 A_INV Invert output A 2 1 read-write B_INV Invert output B 3 1 read-write DIVMODE 4 2 read-write div Free-running counting at rate dictated by fractional divider 0 level Fractional divider operation is gated by the PWM B pin. 1 rise Counter advances with each rising edge of the PWM B pin. 2 fall Counter advances with each falling edge of the PWM B pin. 3 EN Enable the PWM channel. 0 1 read-write PH_ADV Advance the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running at less than full speed (div_int + div_frac / 16 > 1) 7 1 read-write clear PH_CORRECT 1: Enable phase-correct modulation. 0: Trailing-edge 1 1 read-write PH_RET Retard the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running. 6 1 read-write clear CH2_CTR Direct access to the PWM counter 0x30 32 read-write n 0x0 0x0 CH2_CTR 0 16 read-write CH2_DIV INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta. 0x2C 32 read-write n 0x10 0x0 FRAC 0 4 read-write INT 4 8 read-write CH2_TOP Counter wrap value 0x38 32 read-write n 0xFFFF 0x0 CH2_TOP 0 16 read-write CH3_CC Counter compare values 0x48 32 read-write n 0x0 0x0 A 0 16 read-write B 16 16 read-write CH3_CSR Control and status register 0x3C 32 read-write n 0x0 0x0 A_INV Invert output A 2 1 read-write B_INV Invert output B 3 1 read-write DIVMODE 4 2 read-write div Free-running counting at rate dictated by fractional divider 0 level Fractional divider operation is gated by the PWM B pin. 1 rise Counter advances with each rising edge of the PWM B pin. 2 fall Counter advances with each falling edge of the PWM B pin. 3 EN Enable the PWM channel. 0 1 read-write PH_ADV Advance the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running at less than full speed (div_int + div_frac / 16 > 1) 7 1 read-write clear PH_CORRECT 1: Enable phase-correct modulation. 0: Trailing-edge 1 1 read-write PH_RET Retard the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running. 6 1 read-write clear CH3_CTR Direct access to the PWM counter 0x44 32 read-write n 0x0 0x0 CH3_CTR 0 16 read-write CH3_DIV INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta. 0x40 32 read-write n 0x10 0x0 FRAC 0 4 read-write INT 4 8 read-write CH3_TOP Counter wrap value 0x4C 32 read-write n 0xFFFF 0x0 CH3_TOP 0 16 read-write CH4_CC Counter compare values 0x5C 32 read-write n 0x0 0x0 A 0 16 read-write B 16 16 read-write CH4_CSR Control and status register 0x50 32 read-write n 0x0 0x0 A_INV Invert output A 2 1 read-write B_INV Invert output B 3 1 read-write DIVMODE 4 2 read-write div Free-running counting at rate dictated by fractional divider 0 level Fractional divider operation is gated by the PWM B pin. 1 rise Counter advances with each rising edge of the PWM B pin. 2 fall Counter advances with each falling edge of the PWM B pin. 3 EN Enable the PWM channel. 0 1 read-write PH_ADV Advance the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running at less than full speed (div_int + div_frac / 16 > 1) 7 1 read-write clear PH_CORRECT 1: Enable phase-correct modulation. 0: Trailing-edge 1 1 read-write PH_RET Retard the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running. 6 1 read-write clear CH4_CTR Direct access to the PWM counter 0x58 32 read-write n 0x0 0x0 CH4_CTR 0 16 read-write CH4_DIV INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta. 0x54 32 read-write n 0x10 0x0 FRAC 0 4 read-write INT 4 8 read-write CH4_TOP Counter wrap value 0x60 32 read-write n 0xFFFF 0x0 CH4_TOP 0 16 read-write CH5_CC Counter compare values 0x70 32 read-write n 0x0 0x0 A 0 16 read-write B 16 16 read-write CH5_CSR Control and status register 0x64 32 read-write n 0x0 0x0 A_INV Invert output A 2 1 read-write B_INV Invert output B 3 1 read-write DIVMODE 4 2 read-write div Free-running counting at rate dictated by fractional divider 0 level Fractional divider operation is gated by the PWM B pin. 1 rise Counter advances with each rising edge of the PWM B pin. 2 fall Counter advances with each falling edge of the PWM B pin. 3 EN Enable the PWM channel. 0 1 read-write PH_ADV Advance the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running at less than full speed (div_int + div_frac / 16 > 1) 7 1 read-write clear PH_CORRECT 1: Enable phase-correct modulation. 0: Trailing-edge 1 1 read-write PH_RET Retard the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running. 6 1 read-write clear CH5_CTR Direct access to the PWM counter 0x6C 32 read-write n 0x0 0x0 CH5_CTR 0 16 read-write CH5_DIV INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta. 0x68 32 read-write n 0x10 0x0 FRAC 0 4 read-write INT 4 8 read-write CH5_TOP Counter wrap value 0x74 32 read-write n 0xFFFF 0x0 CH5_TOP 0 16 read-write CH6_CC Counter compare values 0x84 32 read-write n 0x0 0x0 A 0 16 read-write B 16 16 read-write CH6_CSR Control and status register 0x78 32 read-write n 0x0 0x0 A_INV Invert output A 2 1 read-write B_INV Invert output B 3 1 read-write DIVMODE 4 2 read-write div Free-running counting at rate dictated by fractional divider 0 level Fractional divider operation is gated by the PWM B pin. 1 rise Counter advances with each rising edge of the PWM B pin. 2 fall Counter advances with each falling edge of the PWM B pin. 3 EN Enable the PWM channel. 0 1 read-write PH_ADV Advance the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running at less than full speed (div_int + div_frac / 16 > 1) 7 1 read-write clear PH_CORRECT 1: Enable phase-correct modulation. 0: Trailing-edge 1 1 read-write PH_RET Retard the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running. 6 1 read-write clear CH6_CTR Direct access to the PWM counter 0x80 32 read-write n 0x0 0x0 CH6_CTR 0 16 read-write CH6_DIV INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta. 0x7C 32 read-write n 0x10 0x0 FRAC 0 4 read-write INT 4 8 read-write CH6_TOP Counter wrap value 0x88 32 read-write n 0xFFFF 0x0 CH6_TOP 0 16 read-write CH7_CC Counter compare values 0x98 32 read-write n 0x0 0x0 A 0 16 read-write B 16 16 read-write CH7_CSR Control and status register 0x8C 32 read-write n 0x0 0x0 A_INV Invert output A 2 1 read-write B_INV Invert output B 3 1 read-write DIVMODE 4 2 read-write div Free-running counting at rate dictated by fractional divider 0 level Fractional divider operation is gated by the PWM B pin. 1 rise Counter advances with each rising edge of the PWM B pin. 2 fall Counter advances with each falling edge of the PWM B pin. 3 EN Enable the PWM channel. 0 1 read-write PH_ADV Advance the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running at less than full speed (div_int + div_frac / 16 > 1) 7 1 read-write clear PH_CORRECT 1: Enable phase-correct modulation. 0: Trailing-edge 1 1 read-write PH_RET Retard the phase of the counter by 1 count, while it is running. Self-clearing. Write a 1, and poll until low. Counter must be running. 6 1 read-write clear CH7_CTR Direct access to the PWM counter 0x94 32 read-write n 0x0 0x0 CH7_CTR 0 16 read-write CH7_DIV INT and FRAC form a fixed-point fractional number. Counting rate is system clock frequency divided by this number. Fractional division uses simple 1st-order sigma-delta. 0x90 32 read-write n 0x10 0x0 FRAC 0 4 read-write INT 4 8 read-write CH7_TOP Counter wrap value 0x9C 32 read-write n 0xFFFF 0x0 CH7_TOP 0 16 read-write EN This register aliases the CSR_EN bits for all channels. Writing to this register allows multiple channels to be enabled or disabled simultaneously, so they can run in perfect sync. For each channel, there is only one physical EN register bit, which can be accessed through here or CHx_CSR. 0xA0 32 read-write n 0x0 0x0 CH0 0 1 read-write CH1 1 1 read-write CH2 2 1 read-write CH3 3 1 read-write CH4 4 1 read-write CH5 5 1 read-write CH6 6 1 read-write CH7 7 1 read-write INTE Interrupt Enable 0xA8 32 read-write n 0x0 0x0 CH0 0 1 read-write CH1 1 1 read-write CH2 2 1 read-write CH3 3 1 read-write CH4 4 1 read-write CH5 5 1 read-write CH6 6 1 read-write CH7 7 1 read-write INTF Interrupt Force 0xAC 32 read-write n 0x0 0x0 CH0 0 1 read-write CH1 1 1 read-write CH2 2 1 read-write CH3 3 1 read-write CH4 4 1 read-write CH5 5 1 read-write CH6 6 1 read-write CH7 7 1 read-write INTR Raw Interrupts 0xA4 32 read-write n 0x0 0x0 CH0 0 1 read-write oneToClear CH1 1 1 read-write oneToClear CH2 2 1 read-write oneToClear CH3 3 1 read-write oneToClear CH4 4 1 read-write oneToClear CH5 5 1 read-write oneToClear CH6 6 1 read-write oneToClear CH7 7 1 read-write oneToClear INTS Interrupt status after masking & forcing 0xB0 32 read-write n 0x0 0x0 CH0 0 1 read-only CH1 1 1 read-only CH2 2 1 read-only CH3 3 1 read-only CH4 4 1 read-only CH5 5 1 read-only CH6 6 1 read-only CH7 7 1 read-only RESETS RESETS 0x4000C000 0x0 0x1000 registers n RESET Reset control. If a bit is set it means the peripheral is in reset. 0 means the peripheral's reset is deasserted. 0x0 32 read-write n 0x1FFFFFF 0x0 adc 0 1 read-write busctrl 1 1 read-write dma 2 1 read-write i2c0 3 1 read-write i2c1 4 1 read-write io_bank0 5 1 read-write io_qspi 6 1 read-write jtag 7 1 read-write pads_bank0 8 1 read-write pads_qspi 9 1 read-write pio0 10 1 read-write pio1 11 1 read-write pll_sys 12 1 read-write pll_usb 13 1 read-write pwm 14 1 read-write rtc 15 1 read-write spi0 16 1 read-write spi1 17 1 read-write syscfg 18 1 read-write sysinfo 19 1 read-write tbman 20 1 read-write timer 21 1 read-write uart0 22 1 read-write uart1 23 1 read-write usbctrl 24 1 read-write RESET_DONE Reset done. If a bit is set then a reset done signal has been returned by the peripheral. This indicates that the peripheral's registers are ready to be accessed. 0x8 32 read-write n 0x0 0x0 adc 0 1 read-only busctrl 1 1 read-only dma 2 1 read-only i2c0 3 1 read-only i2c1 4 1 read-only io_bank0 5 1 read-only io_qspi 6 1 read-only jtag 7 1 read-only pads_bank0 8 1 read-only pads_qspi 9 1 read-only pio0 10 1 read-only pio1 11 1 read-only pll_sys 12 1 read-only pll_usb 13 1 read-only pwm 14 1 read-only rtc 15 1 read-only spi0 16 1 read-only spi1 17 1 read-only syscfg 18 1 read-only sysinfo 19 1 read-only tbman 20 1 read-only timer 21 1 read-only uart0 22 1 read-only uart1 23 1 read-only usbctrl 24 1 read-only WDSEL Watchdog select. If a bit is set then the watchdog will reset this peripheral when the watchdog fires. 0x4 32 read-write n 0x0 0x0 adc 0 1 read-write busctrl 1 1 read-write dma 2 1 read-write i2c0 3 1 read-write i2c1 4 1 read-write io_bank0 5 1 read-write io_qspi 6 1 read-write jtag 7 1 read-write pads_bank0 8 1 read-write pads_qspi 9 1 read-write pio0 10 1 read-write pio1 11 1 read-write pll_sys 12 1 read-write pll_usb 13 1 read-write pwm 14 1 read-write rtc 15 1 read-write spi0 16 1 read-write spi1 17 1 read-write syscfg 18 1 read-write sysinfo 19 1 read-write tbman 20 1 read-write timer 21 1 read-write uart0 22 1 read-write uart1 23 1 read-write usbctrl 24 1 read-write ROSC ROSC 0x40060000 0x0 0x1000 registers n COUNT A down counter running at the ROSC frequency which counts to zero and stops. To start the counter write a non-zero value. Can be used for short software pauses when setting up time sensitive hardware. 0x20 32 read-write n 0x0 0x0 COUNT 0 8 read-write CTRL Ring Oscillator control 0x0 32 read-write n 0xAA0 0x0 ENABLE On power-up this field is initialised to ENABLE The system clock must be switched to another source before setting this field to DISABLE otherwise the chip will lock up The 12-bit code is intended to give some protection against accidental writes. An invalid setting will enable the oscillator. 12 12 read-write DISABLE None 3358 ENABLE None 4011 FREQ_RANGE Controls the number of delay stages in the ROSC ring LOW uses stages 0 to 7 MEDIUM uses stages 0 to 5 HIGH uses stages 0 to 3 TOOHIGH uses stages 0 to 1 and should not be used because its frequency exceeds design specifications The clock output will not glitch when changing the range up one step at a time The clock output will glitch when changing the range down Note: the values here are gray coded which is why HIGH comes before TOOHIGH 0 12 read-write LOW None 4004 MEDIUM None 4005 TOOHIGH None 4006 HIGH None 4007 DIV Controls the output divider 0x10 32 read-write n 0x0 0x0 DIV set to 0xaa0 + div where div = 0 divides by 32 div = 1-31 divides by div any other value sets div=31 this register resets to div=16 0 12 read-write PASS None 2720 DORMANT Ring Oscillator pause control This is used to save power by pausing the ROSC On power-up this field is initialised to WAKE An invalid write will also select WAKE Warning: setup the irq before selecting dormant mode 0xC 32 read-write n 0x0 0x0 FREQA The FREQA & FREQB registers control the frequency by controlling the drive strength of each stage The drive strength has 4 levels determined by the number of bits set Increasing the number of bits set increases the drive strength and increases the oscillation frequency 0 bits set is the default drive strength 1 bit set doubles the drive strength 2 bits set triples drive strength 3 bits set quadruples drive strength 0x4 32 read-write n 0x0 0x0 DS0 Stage 0 drive strength 0 3 read-write DS1 Stage 1 drive strength 4 3 read-write DS2 Stage 2 drive strength 8 3 read-write DS3 Stage 3 drive strength 12 3 read-write PASSWD Set to 0x9696 to apply the settings Any other value in this field will set all drive strengths to 0 16 16 read-write PASS None 38550 FREQB For a detailed description see freqa register 0x8 32 read-write n 0x0 0x0 DS4 Stage 4 drive strength 0 3 read-write DS5 Stage 5 drive strength 4 3 read-write DS6 Stage 6 drive strength 8 3 read-write DS7 Stage 7 drive strength 12 3 read-write PASSWD Set to 0x9696 to apply the settings Any other value in this field will set all drive strengths to 0 16 16 read-write PASS None 38550 PHASE Controls the phase shifted output 0x14 32 read-write n 0x8 0x0 ENABLE enable the phase-shifted output this can be changed on-the-fly 3 1 read-write FLIP invert the phase-shifted output this is ignored when div=1 2 1 read-write PASSWD set to 0xaa any other value enables the output with shift=0 4 8 read-write SHIFT phase shift the phase-shifted output by SHIFT input clocks this can be changed on-the-fly must be set to 0 before setting div=1 0 2 read-write RANDOMBIT This just reads the state of the oscillator output so randomness is compromised if the ring oscillator is stopped or run at a harmonic of the bus frequency 0x1C 32 read-write n 0x1 0x0 RANDOMBIT 0 1 read-only STATUS Ring Oscillator Status 0x18 32 read-write n 0x0 0x0 BADWRITE An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or FREQA or FREQB or DIV or PHASE or DORMANT 24 1 read-write oneToClear DIV_RUNNING post-divider is running this resets to 0 but transitions to 1 during chip startup 16 1 read-only ENABLED Oscillator is enabled but not necessarily running and stable this resets to 0 but transitions to 1 during chip startup 12 1 read-only STABLE Oscillator is running and stable 31 1 read-only RTC Register block to control RTC RTC 0x4005C000 0x0 0x1000 registers n RTC_IRQ 25 CLKDIV_M1 Divider minus 1 for the 1 second counter. Safe to change the value when RTC is not enabled. 0x0 32 read-write n 0x0 0x0 CLKDIV_M1 0 16 read-write CTRL RTC Control and status 0xC 32 read-write n 0x0 0x0 FORCE_NOTLEAPYEAR If set, leapyear is forced off. Useful for years divisible by 100 but not by 400 8 1 read-write LOAD Load RTC 4 1 read-write clear RTC_ACTIVE RTC enabled (running) 1 1 read-only RTC_ENABLE Enable RTC 0 1 read-write INTE Interrupt Enable 0x24 32 read-write n 0x0 0x0 RTC 0 1 read-write INTF Interrupt Force 0x28 32 read-write n 0x0 0x0 RTC 0 1 read-write INTR Raw Interrupts 0x20 32 read-write n 0x0 0x0 RTC 0 1 read-only INTS Interrupt status after masking & forcing 0x2C 32 read-write n 0x0 0x0 RTC 0 1 read-only IRQ_SETUP_0 Interrupt setup register 0 0x10 32 read-write n 0x0 0x0 DAY Day of the month (1..31) 0 5 read-write DAY_ENA Enable day matching 24 1 read-write MATCH_ACTIVE 29 1 read-only MATCH_ENA Global match enable. Don't change any other value while this one is enabled 28 1 read-write MONTH Month (1..12) 8 4 read-write MONTH_ENA Enable month matching 25 1 read-write YEAR Year 12 12 read-write YEAR_ENA Enable year matching 26 1 read-write IRQ_SETUP_1 Interrupt setup register 1 0x14 32 read-write n 0x0 0x0 DOTW Day of the week 24 3 read-write DOTW_ENA Enable day of the week matching 31 1 read-write HOUR Hours 16 5 read-write HOUR_ENA Enable hour matching 30 1 read-write MIN Minutes 8 6 read-write MIN_ENA Enable minute matching 29 1 read-write SEC Seconds 0 6 read-write SEC_ENA Enable second matching 28 1 read-write RTC_0 RTC register 0 Read this before RTC 1! 0x1C 32 n 0x0 DOTW Day of the week 24 3 read-only HOUR Hours 16 5 read-only MIN Minutes 8 6 read-only SEC Seconds 0 6 read-only RTC_1 RTC register 1. 0x18 32 n 0x0 DAY Day of the month (1..31) 0 5 read-only MONTH Month (1..12) 8 4 read-only YEAR Year 12 12 read-only SETUP_0 RTC setup register 0 0x4 32 read-write n 0x0 0x0 DAY Day of the month (1..31) 0 5 read-write MONTH Month (1..12) 8 4 read-write YEAR Year 12 12 read-write SETUP_1 RTC setup register 1 0x8 32 read-write n 0x0 0x0 DOTW Day of the week: 1-Monday...0-Sunday ISO 8601 mod 7 24 3 read-write HOUR Hours 16 5 read-write MIN Minutes 8 6 read-write SEC Seconds 0 6 read-write SIO Single-cycle IO block Provides core-local and inter-core hardware for the two processors, with single-cycle access. SIO 0xD0000000 0x0 0x200 registers n SIO_IRQ_PROC0 15 SIO_IRQ_PROC1 16 CPUID Processor core identifier Value is 0 when read from processor core 0, and 1 when read from processor core 1. 0x0 32 read-only n 0x0 0x0 DIV_CSR Control and status register for divider. 0x78 32 read-write n 0x1 0x0 DIRTY Changes to 1 when any register is written, and back to 0 when QUOTIENT is read. Software can use this flag to make save/restore more efficient (skip if not DIRTY). If the flag is used in this way, it's recommended to either read QUOTIENT only, or REMAINDER and then QUOTIENT, to prevent data loss on context switch. 1 1 read-only READY Reads as 0 when a calculation is in progress, 1 otherwise. Writing an operand (xDIVIDEND, xDIVISOR) will immediately start a new calculation, no matter if one is already in progress. Writing to a result register will immediately terminate any in-progress calculation and set the READY and DIRTY flags. 0 1 read-only DIV_QUOTIENT Divider result quotient The result of `DIVIDEND / DIVISOR` (division). Contents undefined while CSR_READY is low. For signed calculations, QUOTIENT is negative when the signs of DIVIDEND and DIVISOR differ. This register can be written to directly, for context save/restore purposes. This halts any in-progress calculation and sets the CSR_READY and CSR_DIRTY flags. Reading from QUOTIENT clears the CSR_DIRTY flag, so should read results in the order REMAINDER, QUOTIENT if CSR_DIRTY is used. 0x70 32 read-write n 0x0 0x0 DIV_REMAINDER Divider result remainder The result of `DIVIDEND % DIVISOR` (modulo). Contents undefined while CSR_READY is low. For signed calculations, REMAINDER is negative only when DIVIDEND is negative. This register can be written to directly, for context save/restore purposes. This halts any in-progress calculation and sets the CSR_READY and CSR_DIRTY flags. 0x74 32 read-write n 0x0 0x0 DIV_SDIVIDEND Divider signed dividend The same as UDIVIDEND, but starts a signed calculation, rather than unsigned. 0x68 32 read-write n 0x0 0x0 DIV_SDIVISOR Divider signed divisor The same as UDIVISOR, but starts a signed calculation, rather than unsigned. 0x6C 32 read-write n 0x0 0x0 DIV_UDIVIDEND Divider unsigned dividend Write to the DIVIDEND operand of the divider, i.e. the p in `p / q`. Any operand write starts a new calculation. The results appear in QUOTIENT, REMAINDER. UDIVIDEND/SDIVIDEND are aliases of the same internal register. The U alias starts an unsigned calculation, and the S alias starts a signed calculation. 0x60 32 read-write n 0x0 0x0 DIV_UDIVISOR Divider unsigned divisor Write to the DIVISOR operand of the divider, i.e. the q in `p / q`. Any operand write starts a new calculation. The results appear in QUOTIENT, REMAINDER. UDIVISOR/SDIVISOR are aliases of the same internal register. The U alias starts an unsigned calculation, and the S alias starts a signed calculation. 0x64 32 read-write n 0x0 0x0 FIFO_RD Read access to this core's RX FIFO 0x58 32 read-only n 0x0 0x0 FIFO_ST Status register for inter-core FIFOs (mailboxes). There is one FIFO in the core 0 -> core 1 direction, and one core 1 -> core 0. Both are 32 bits wide and 8 words deep. Core 0 can see the read side of the 1->0 FIFO (RX), and the write side of 0->1 FIFO (TX). Core 1 can see the read side of the 0->1 FIFO (RX), and the write side of 1->0 FIFO (TX). The SIO IRQ for each core is the logical OR of the VLD, WOF and ROE fields of its FIFO_ST register. 0x50 32 read-write n 0x2 0x0 RDY Value is 1 if this core's TX FIFO is not full (i.e. if FIFO_WR is ready for more data) 1 1 read-only ROE Sticky flag indicating the RX FIFO was read when empty. This read was ignored by the FIFO. 3 1 read-write oneToClear VLD Value is 1 if this core's RX FIFO is not empty (i.e. if FIFO_RD is valid) 0 1 read-only WOF Sticky flag indicating the TX FIFO was written when full. This write was ignored by the FIFO. 2 1 read-write oneToClear FIFO_WR Write access to this core's TX FIFO 0x54 32 write-only n 0x0 0x0 GPIO_HI_IN Input value for QSPI pins 0x8 32 read-write n 0x0 0x0 GPIO_HI_IN Input value on QSPI IO in order 0..5: SCLK, SSn, SD0, SD1, SD2, SD3 0 6 read-only GPIO_HI_OE QSPI output enable 0x40 32 read-write n 0x0 0x0 GPIO_HI_OE Set output enable (1/0 -> output/input) for QSPI IO0...5. Reading back gives the last value written. If core 0 and core 1 both write to GPIO_HI_OE simultaneously (or to a SET/CLR/XOR alias), the result is as though the write from core 0 took place first, and the write from core 1 was then applied to that intermediate result. 0 6 read-write GPIO_HI_OE_CLR QSPI output enable clear 0x48 32 read-write n 0x0 0x0 GPIO_HI_OE_CLR Perform an atomic bit-clear on GPIO_HI_OE, i.e. `GPIO_HI_OE &= ~wdata` 0 6 write-only GPIO_HI_OE_SET QSPI output enable set 0x44 32 read-write n 0x0 0x0 GPIO_HI_OE_SET Perform an atomic bit-set on GPIO_HI_OE, i.e. `GPIO_HI_OE |= wdata` 0 6 write-only GPIO_HI_OE_XOR QSPI output enable XOR 0x4C 32 read-write n 0x0 0x0 GPIO_HI_OE_XOR Perform an atomic bitwise XOR on GPIO_HI_OE, i.e. `GPIO_HI_OE ^= wdata` 0 6 write-only GPIO_HI_OUT QSPI output value 0x30 32 read-write n 0x0 0x0 GPIO_HI_OUT Set output level (1/0 -> high/low) for QSPI IO0...5. Reading back gives the last value written, NOT the input value from the pins. If core 0 and core 1 both write to GPIO_HI_OUT simultaneously (or to a SET/CLR/XOR alias), the result is as though the write from core 0 took place first, and the write from core 1 was then applied to that intermediate result. 0 6 read-write GPIO_HI_OUT_CLR QSPI output value clear 0x38 32 read-write n 0x0 0x0 GPIO_HI_OUT_CLR Perform an atomic bit-clear on GPIO_HI_OUT, i.e. `GPIO_HI_OUT &= ~wdata` 0 6 write-only GPIO_HI_OUT_SET QSPI output value set 0x34 32 read-write n 0x0 0x0 GPIO_HI_OUT_SET Perform an atomic bit-set on GPIO_HI_OUT, i.e. `GPIO_HI_OUT |= wdata` 0 6 write-only GPIO_HI_OUT_XOR QSPI output value XOR 0x3C 32 read-write n 0x0 0x0 GPIO_HI_OUT_XOR Perform an atomic bitwise XOR on GPIO_HI_OUT, i.e. `GPIO_HI_OUT ^= wdata` 0 6 write-only GPIO_IN Input value for GPIO pins 0x4 32 read-write n 0x0 0x0 GPIO_IN Input value for GPIO0...29 0 30 read-only GPIO_OE GPIO output enable 0x20 32 read-write n 0x0 0x0 GPIO_OE Set output enable (1/0 -> output/input) for GPIO0...29. Reading back gives the last value written. If core 0 and core 1 both write to GPIO_OE simultaneously (or to a SET/CLR/XOR alias), the result is as though the write from core 0 took place first, and the write from core 1 was then applied to that intermediate result. 0 30 read-write GPIO_OE_CLR GPIO output enable clear 0x28 32 read-write n 0x0 0x0 GPIO_OE_CLR Perform an atomic bit-clear on GPIO_OE, i.e. `GPIO_OE &= ~wdata` 0 30 write-only GPIO_OE_SET GPIO output enable set 0x24 32 read-write n 0x0 0x0 GPIO_OE_SET Perform an atomic bit-set on GPIO_OE, i.e. `GPIO_OE |= wdata` 0 30 write-only GPIO_OE_XOR GPIO output enable XOR 0x2C 32 read-write n 0x0 0x0 GPIO_OE_XOR Perform an atomic bitwise XOR on GPIO_OE, i.e. `GPIO_OE ^= wdata` 0 30 write-only GPIO_OUT GPIO output value 0x10 32 read-write n 0x0 0x0 GPIO_OUT Set output level (1/0 -> high/low) for GPIO0...29. Reading back gives the last value written, NOT the input value from the pins. If core 0 and core 1 both write to GPIO_OUT simultaneously (or to a SET/CLR/XOR alias), the result is as though the write from core 0 took place first, and the write from core 1 was then applied to that intermediate result. 0 30 read-write GPIO_OUT_CLR GPIO output value clear 0x18 32 read-write n 0x0 0x0 GPIO_OUT_CLR Perform an atomic bit-clear on GPIO_OUT, i.e. `GPIO_OUT &= ~wdata` 0 30 write-only GPIO_OUT_SET GPIO output value set 0x14 32 read-write n 0x0 0x0 GPIO_OUT_SET Perform an atomic bit-set on GPIO_OUT, i.e. `GPIO_OUT |= wdata` 0 30 write-only GPIO_OUT_XOR GPIO output value XOR 0x1C 32 read-write n 0x0 0x0 GPIO_OUT_XOR Perform an atomic bitwise XOR on GPIO_OUT, i.e. `GPIO_OUT ^= wdata` 0 30 write-only INTERP0_ACCUM0 Read/write access to accumulator 0 0x80 32 read-write n 0x0 0x0 INTERP0_ACCUM0_ADD Values written here are atomically added to ACCUM0 Reading yields lane 0's raw shift and mask value (BASE0 not added). 0xB4 32 read-write n 0x0 0x0 INTERP0_ACCUM0_ADD 0 24 read-write INTERP0_ACCUM1 Read/write access to accumulator 1 0x84 32 read-write n 0x0 0x0 INTERP0_ACCUM1_ADD Values written here are atomically added to ACCUM1 Reading yields lane 1's raw shift and mask value (BASE1 not added). 0xB8 32 read-write n 0x0 0x0 INTERP0_ACCUM1_ADD 0 24 read-write INTERP0_BASE0 Read/write access to BASE0 register. 0x88 32 read-write n 0x0 0x0 INTERP0_BASE1 Read/write access to BASE1 register. 0x8C 32 read-write n 0x0 0x0 INTERP0_BASE2 Read/write access to BASE2 register. 0x90 32 read-write n 0x0 0x0 INTERP0_BASE_1AND0 On write, the lower 16 bits go to BASE0, upper bits to BASE1 simultaneously. Each half is sign-extended to 32 bits if that lane's SIGNED flag is set. 0xBC 32 write-only n 0x0 0x0 INTERP0_CTRL_LANE0 Control register for lane 0 0xAC 32 read-write n 0x0 0x0 ADD_RAW If 1, mask + shift is bypassed for LANE0 result. This does not affect FULL result. 18 1 read-write BLEND Only present on INTERP0 on each core. If BLEND mode is enabled: - LANE1 result is a linear interpolation between BASE0 and BASE1, controlled by the 8 LSBs of lane 1 shift and mask value (a fractional number between 0 and 255/256ths) - LANE0 result does not have BASE0 added (yields only the 8 LSBs of lane 1 shift+mask value) - FULL result does not have lane 1 shift+mask value added (BASE2 + lane 0 shift+mask) LANE1 SIGNED flag controls whether the interpolation is signed or unsigned. 21 1 read-write CROSS_INPUT If 1, feed the opposite lane's accumulator into this lane's shift + mask hardware. Takes effect even if ADD_RAW is set (the CROSS_INPUT mux is before the shift+mask bypass) 16 1 read-write CROSS_RESULT If 1, feed the opposite lane's result into this lane's accumulator on POP. 17 1 read-write FORCE_MSB ORed into bits 29:28 of the lane result presented to the processor on the bus. No effect on the internal 32-bit datapath. Handy for using a lane to generate sequence of pointers into flash or SRAM. 19 2 read-write MASK_LSB The least-significant bit allowed to pass by the mask (inclusive) 5 5 read-write MASK_MSB The most-significant bit allowed to pass by the mask (inclusive) Setting MSB < LSB may cause chip to turn inside-out 10 5 read-write OVERF Set if either OVERF0 or OVERF1 is set. 25 1 read-only OVERF0 Indicates if any masked-off MSBs in ACCUM0 are set. 23 1 read-only OVERF1 Indicates if any masked-off MSBs in ACCUM1 are set. 24 1 read-only SHIFT Logical right-shift applied to accumulator before masking 0 5 read-write SIGNED If SIGNED is set, the shifted and masked accumulator value is sign-extended to 32 bits before adding to BASE0, and LANE0 PEEK/POP appear extended to 32 bits when read by processor. 15 1 read-write INTERP0_CTRL_LANE1 Control register for lane 1 0xB0 32 read-write n 0x0 0x0 ADD_RAW If 1, mask + shift is bypassed for LANE1 result. This does not affect FULL result. 18 1 read-write CROSS_INPUT If 1, feed the opposite lane's accumulator into this lane's shift + mask hardware. Takes effect even if ADD_RAW is set (the CROSS_INPUT mux is before the shift+mask bypass) 16 1 read-write CROSS_RESULT If 1, feed the opposite lane's result into this lane's accumulator on POP. 17 1 read-write FORCE_MSB ORed into bits 29:28 of the lane result presented to the processor on the bus. No effect on the internal 32-bit datapath. Handy for using a lane to generate sequence of pointers into flash or SRAM. 19 2 read-write MASK_LSB The least-significant bit allowed to pass by the mask (inclusive) 5 5 read-write MASK_MSB The most-significant bit allowed to pass by the mask (inclusive) Setting MSB < LSB may cause chip to turn inside-out 10 5 read-write SHIFT Logical right-shift applied to accumulator before masking 0 5 read-write SIGNED If SIGNED is set, the shifted and masked accumulator value is sign-extended to 32 bits before adding to BASE1, and LANE1 PEEK/POP appear extended to 32 bits when read by processor. 15 1 read-write INTERP0_PEEK_FULL Read FULL result, without altering any internal state (PEEK). 0xA8 32 read-only n 0x0 0x0 INTERP0_PEEK_LANE0 Read LANE0 result, without altering any internal state (PEEK). 0xA0 32 read-only n 0x0 0x0 INTERP0_PEEK_LANE1 Read LANE1 result, without altering any internal state (PEEK). 0xA4 32 read-only n 0x0 0x0 INTERP0_POP_FULL Read FULL result, and simultaneously write lane results to both accumulators (POP). 0x9C 32 read-only n 0x0 0x0 INTERP0_POP_LANE0 Read LANE0 result, and simultaneously write lane results to both accumulators (POP). 0x94 32 read-only n 0x0 0x0 INTERP0_POP_LANE1 Read LANE1 result, and simultaneously write lane results to both accumulators (POP). 0x98 32 read-only n 0x0 0x0 INTERP1_ACCUM0 Read/write access to accumulator 0 0xC0 32 read-write n 0x0 0x0 INTERP1_ACCUM0_ADD Values written here are atomically added to ACCUM0 Reading yields lane 0's raw shift and mask value (BASE0 not added). 0xF4 32 read-write n 0x0 0x0 INTERP1_ACCUM0_ADD 0 24 read-write INTERP1_ACCUM1 Read/write access to accumulator 1 0xC4 32 read-write n 0x0 0x0 INTERP1_ACCUM1_ADD Values written here are atomically added to ACCUM1 Reading yields lane 1's raw shift and mask value (BASE1 not added). 0xF8 32 read-write n 0x0 0x0 INTERP1_ACCUM1_ADD 0 24 read-write INTERP1_BASE0 Read/write access to BASE0 register. 0xC8 32 read-write n 0x0 0x0 INTERP1_BASE1 Read/write access to BASE1 register. 0xCC 32 read-write n 0x0 0x0 INTERP1_BASE2 Read/write access to BASE2 register. 0xD0 32 read-write n 0x0 0x0 INTERP1_BASE_1AND0 On write, the lower 16 bits go to BASE0, upper bits to BASE1 simultaneously. Each half is sign-extended to 32 bits if that lane's SIGNED flag is set. 0xFC 32 write-only n 0x0 0x0 INTERP1_CTRL_LANE0 Control register for lane 0 0xEC 32 read-write n 0x0 0x0 ADD_RAW If 1, mask + shift is bypassed for LANE0 result. This does not affect FULL result. 18 1 read-write CLAMP Only present on INTERP1 on each core. If CLAMP mode is enabled: - LANE0 result is shifted and masked ACCUM0, clamped by a lower bound of BASE0 and an upper bound of BASE1. - Signedness of these comparisons is determined by LANE0_CTRL_SIGNED 22 1 read-write CROSS_INPUT If 1, feed the opposite lane's accumulator into this lane's shift + mask hardware. Takes effect even if ADD_RAW is set (the CROSS_INPUT mux is before the shift+mask bypass) 16 1 read-write CROSS_RESULT If 1, feed the opposite lane's result into this lane's accumulator on POP. 17 1 read-write FORCE_MSB ORed into bits 29:28 of the lane result presented to the processor on the bus. No effect on the internal 32-bit datapath. Handy for using a lane to generate sequence of pointers into flash or SRAM. 19 2 read-write MASK_LSB The least-significant bit allowed to pass by the mask (inclusive) 5 5 read-write MASK_MSB The most-significant bit allowed to pass by the mask (inclusive) Setting MSB < LSB may cause chip to turn inside-out 10 5 read-write OVERF Set if either OVERF0 or OVERF1 is set. 25 1 read-only OVERF0 Indicates if any masked-off MSBs in ACCUM0 are set. 23 1 read-only OVERF1 Indicates if any masked-off MSBs in ACCUM1 are set. 24 1 read-only SHIFT Logical right-shift applied to accumulator before masking 0 5 read-write SIGNED If SIGNED is set, the shifted and masked accumulator value is sign-extended to 32 bits before adding to BASE0, and LANE0 PEEK/POP appear extended to 32 bits when read by processor. 15 1 read-write INTERP1_CTRL_LANE1 Control register for lane 1 0xF0 32 read-write n 0x0 0x0 ADD_RAW If 1, mask + shift is bypassed for LANE1 result. This does not affect FULL result. 18 1 read-write CROSS_INPUT If 1, feed the opposite lane's accumulator into this lane's shift + mask hardware. Takes effect even if ADD_RAW is set (the CROSS_INPUT mux is before the shift+mask bypass) 16 1 read-write CROSS_RESULT If 1, feed the opposite lane's result into this lane's accumulator on POP. 17 1 read-write FORCE_MSB ORed into bits 29:28 of the lane result presented to the processor on the bus. No effect on the internal 32-bit datapath. Handy for using a lane to generate sequence of pointers into flash or SRAM. 19 2 read-write MASK_LSB The least-significant bit allowed to pass by the mask (inclusive) 5 5 read-write MASK_MSB The most-significant bit allowed to pass by the mask (inclusive) Setting MSB < LSB may cause chip to turn inside-out 10 5 read-write SHIFT Logical right-shift applied to accumulator before masking 0 5 read-write SIGNED If SIGNED is set, the shifted and masked accumulator value is sign-extended to 32 bits before adding to BASE1, and LANE1 PEEK/POP appear extended to 32 bits when read by processor. 15 1 read-write INTERP1_PEEK_FULL Read FULL result, without altering any internal state (PEEK). 0xE8 32 read-only n 0x0 0x0 INTERP1_PEEK_LANE0 Read LANE0 result, without altering any internal state (PEEK). 0xE0 32 read-only n 0x0 0x0 INTERP1_PEEK_LANE1 Read LANE1 result, without altering any internal state (PEEK). 0xE4 32 read-only n 0x0 0x0 INTERP1_POP_FULL Read FULL result, and simultaneously write lane results to both accumulators (POP). 0xDC 32 read-only n 0x0 0x0 INTERP1_POP_LANE0 Read LANE0 result, and simultaneously write lane results to both accumulators (POP). 0xD4 32 read-only n 0x0 0x0 INTERP1_POP_LANE1 Read LANE1 result, and simultaneously write lane results to both accumulators (POP). 0xD8 32 read-only n 0x0 0x0 SPINLOCK0 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x100 32 read-write n 0x0 0x0 SPINLOCK1 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x104 32 read-write n 0x0 0x0 SPINLOCK10 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x128 32 read-write n 0x0 0x0 SPINLOCK11 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x12C 32 read-write n 0x0 0x0 SPINLOCK12 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x130 32 read-write n 0x0 0x0 SPINLOCK13 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x134 32 read-write n 0x0 0x0 SPINLOCK14 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x138 32 read-write n 0x0 0x0 SPINLOCK15 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x13C 32 read-write n 0x0 0x0 SPINLOCK16 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x140 32 read-write n 0x0 0x0 SPINLOCK17 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x144 32 read-write n 0x0 0x0 SPINLOCK18 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x148 32 read-write n 0x0 0x0 SPINLOCK19 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x14C 32 read-write n 0x0 0x0 SPINLOCK2 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x108 32 read-write n 0x0 0x0 SPINLOCK20 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x150 32 read-write n 0x0 0x0 SPINLOCK21 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x154 32 read-write n 0x0 0x0 SPINLOCK22 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x158 32 read-write n 0x0 0x0 SPINLOCK23 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x15C 32 read-write n 0x0 0x0 SPINLOCK24 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x160 32 read-write n 0x0 0x0 SPINLOCK25 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x164 32 read-write n 0x0 0x0 SPINLOCK26 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x168 32 read-write n 0x0 0x0 SPINLOCK27 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x16C 32 read-write n 0x0 0x0 SPINLOCK28 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x170 32 read-write n 0x0 0x0 SPINLOCK29 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x174 32 read-write n 0x0 0x0 SPINLOCK3 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x10C 32 read-write n 0x0 0x0 SPINLOCK30 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x178 32 read-write n 0x0 0x0 SPINLOCK31 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x17C 32 read-write n 0x0 0x0 SPINLOCK4 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x110 32 read-write n 0x0 0x0 SPINLOCK5 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x114 32 read-write n 0x0 0x0 SPINLOCK6 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x118 32 read-write n 0x0 0x0 SPINLOCK7 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x11C 32 read-write n 0x0 0x0 SPINLOCK8 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x120 32 read-write n 0x0 0x0 SPINLOCK9 Reading from a spinlock address will: - Return 0 if lock is already locked - Otherwise return nonzero, and simultaneously claim the lock Writing (any value) releases the lock. If core 0 and core 1 attempt to claim the same lock simultaneously, core 0 wins. The value returned on success is 0x1 << lock number. 0x124 32 read-write n 0x0 0x0 SPINLOCK_ST Spinlock state A bitmap containing the state of all 32 spinlocks (1=locked). Mainly intended for debugging. 0x5C 32 read-only n 0x0 0x0 SPI0 SPI0 0x4003C000 0x0 0x1000 registers n SPI0_IRQ 18 SSPCPSR Clock prescale register, SSPCPSR on page 3-8 0x10 32 read-write n 0x0 0x0 CPSDVSR Clock prescale divisor. Must be an even number from 2-254, depending on the frequency of SSPCLK. The least significant bit always returns zero on reads. 0 8 read-write SSPCR0 Control register 0, SSPCR0 on page 3-4 0x0 32 read-write n 0x0 0x0 DSS Data Size Select: 0000 Reserved, undefined operation. 0001 Reserved, undefined operation. 0010 Reserved, undefined operation. 0011 4-bit data. 0100 5-bit data. 0101 6-bit data. 0110 7-bit data. 0111 8-bit data. 1000 9-bit data. 1001 10-bit data. 1010 11-bit data. 1011 12-bit data. 1100 13-bit data. 1101 14-bit data. 1110 15-bit data. 1111 16-bit data. 0 4 read-write FRF Frame format: 00 Motorola SPI frame format. 01 TI synchronous serial frame format. 10 National Microwire frame format. 11 Reserved, undefined operation. 4 2 read-write SCR Serial clock rate. The value SCR is used to generate the transmit and receive bit rate of the PrimeCell SSP. The bit rate is: F SSPCLK CPSDVSR x (1+SCR) where CPSDVSR is an even value from 2-254, programmed through the SSPCPSR register and SCR is a value from 0-255. 8 8 read-write SPH SSPCLKOUT phase, applicable to Motorola SPI frame format only. See Motorola SPI frame format on page 2-10. 7 1 read-write SPO SSPCLKOUT polarity, applicable to Motorola SPI frame format only. See Motorola SPI frame format on page 2-10. 6 1 read-write SSPCR1 Control register 1, SSPCR1 on page 3-5 0x4 32 read-write n 0x0 0x0 LBM Loop back mode: 0 Normal serial port operation enabled. 1 Output of transmit serial shifter is connected to input of receive serial shifter internally. 0 1 read-write MS Master or slave mode select. This bit can be modified only when the PrimeCell SSP is disabled, SSE=0: 0 Device configured as master, default. 1 Device configured as slave. 2 1 read-write SOD Slave-mode output disable. This bit is relevant only in the slave mode, MS=1. In multiple-slave systems, it is possible for an PrimeCell SSP master to broadcast a message to all slaves in the system while ensuring that only one slave drives data onto its serial output line. In such systems the RXD lines from multiple slaves could be tied together. To operate in such systems, the SOD bit can be set if the PrimeCell SSP slave is not supposed to drive the SSPTXD line: 0 SSP can drive the SSPTXD output in slave mode. 1 SSP must not drive the SSPTXD output in slave mode. 3 1 read-write SSE Synchronous serial port enable: 0 SSP operation disabled. 1 SSP operation enabled. 1 1 read-write SSPDMACR DMA control register, SSPDMACR on page 3-12 0x24 32 read-write n 0x0 0x0 RXDMAE Receive DMA Enable. If this bit is set to 1, DMA for the receive FIFO is enabled. 0 1 read-write TXDMAE Transmit DMA Enable. If this bit is set to 1, DMA for the transmit FIFO is enabled. 1 1 read-write SSPDR Data register, SSPDR on page 3-6 0x8 32 read-write n 0x0 0x0 DATA Transmit/Receive FIFO: Read Receive FIFO. Write Transmit FIFO. You must right-justify data when the PrimeCell SSP is programmed for a data size that is less than 16 bits. Unused bits at the top are ignored by transmit logic. The receive logic automatically right-justifies. 0 16 read-write SSPICR Interrupt clear register, SSPICR on page 3-11 0x20 32 read-write n 0x0 0x0 RORIC Clears the SSPRORINTR interrupt 0 1 read-write oneToClear RTIC Clears the SSPRTINTR interrupt 1 1 read-write oneToClear SSPIMSC Interrupt mask set or clear register, SSPIMSC on page 3-9 0x14 32 read-write n 0x0 0x0 RORIM Receive overrun interrupt mask: 0 Receive FIFO written to while full condition interrupt is masked. 1 Receive FIFO written to while full condition interrupt is not masked. 0 1 read-write RTIM Receive timeout interrupt mask: 0 Receive FIFO not empty and no read prior to timeout period interrupt is masked. 1 Receive FIFO not empty and no read prior to timeout period interrupt is not masked. 1 1 read-write RXIM Receive FIFO interrupt mask: 0 Receive FIFO half full or less condition interrupt is masked. 1 Receive FIFO half full or less condition interrupt is not masked. 2 1 read-write TXIM Transmit FIFO interrupt mask: 0 Transmit FIFO half empty or less condition interrupt is masked. 1 Transmit FIFO half empty or less condition interrupt is not masked. 3 1 read-write SSPMIS Masked interrupt status register, SSPMIS on page 3-11 0x1C 32 read-write n 0x0 0x0 RORMIS Gives the receive over run masked interrupt status, after masking, of the SSPRORINTR interrupt 0 1 read-only RTMIS Gives the receive timeout masked interrupt state, after masking, of the SSPRTINTR interrupt 1 1 read-only RXMIS Gives the receive FIFO masked interrupt state, after masking, of the SSPRXINTR interrupt 2 1 read-only TXMIS Gives the transmit FIFO masked interrupt state, after masking, of the SSPTXINTR interrupt 3 1 read-only SSPPCELLID0 PrimeCell identification registers, SSPPCellID0-3 on page 3-16 0xFF0 32 read-write n 0xD 0x0 SSPPCELLID0 These bits read back as 0x0D 0 8 read-only SSPPCELLID1 PrimeCell identification registers, SSPPCellID0-3 on page 3-16 0xFF4 32 read-write n 0xF0 0x0 SSPPCELLID1 These bits read back as 0xF0 0 8 read-only SSPPCELLID2 PrimeCell identification registers, SSPPCellID0-3 on page 3-16 0xFF8 32 read-write n 0x5 0x0 SSPPCELLID2 These bits read back as 0x05 0 8 read-only SSPPCELLID3 PrimeCell identification registers, SSPPCellID0-3 on page 3-16 0xFFC 32 read-write n 0xB1 0x0 SSPPCELLID3 These bits read back as 0xB1 0 8 read-only SSPPERIPHID0 Peripheral identification registers, SSPPeriphID0-3 on page 3-13 0xFE0 32 read-write n 0x22 0x0 PARTNUMBER0 These bits read back as 0x22 0 8 read-only SSPPERIPHID1 Peripheral identification registers, SSPPeriphID0-3 on page 3-13 0xFE4 32 read-write n 0x10 0x0 DESIGNER0 These bits read back as 0x1 4 4 read-only PARTNUMBER1 These bits read back as 0x0 0 4 read-only SSPPERIPHID2 Peripheral identification registers, SSPPeriphID0-3 on page 3-13 0xFE8 32 read-write n 0x34 0x0 DESIGNER1 These bits read back as 0x4 0 4 read-only REVISION These bits return the peripheral revision 4 4 read-only SSPPERIPHID3 Peripheral identification registers, SSPPeriphID0-3 on page 3-13 0xFEC 32 read-write n 0x0 0x0 CONFIGURATION These bits read back as 0x00 0 8 read-only SSPRIS Raw interrupt status register, SSPRIS on page 3-10 0x18 32 read-write n 0x8 0x0 RORRIS Gives the raw interrupt state, prior to masking, of the SSPRORINTR interrupt 0 1 read-only RTRIS Gives the raw interrupt state, prior to masking, of the SSPRTINTR interrupt 1 1 read-only RXRIS Gives the raw interrupt state, prior to masking, of the SSPRXINTR interrupt 2 1 read-only TXRIS Gives the raw interrupt state, prior to masking, of the SSPTXINTR interrupt 3 1 read-only SSPSR Status register, SSPSR on page 3-7 0xC 32 read-write n 0x3 0x0 BSY PrimeCell SSP busy flag, RO: 0 SSP is idle. 1 SSP is currently transmitting and/or receiving a frame or the transmit FIFO is not empty. 4 1 read-only RFF Receive FIFO full, RO: 0 Receive FIFO is not full. 1 Receive FIFO is full. 3 1 read-only RNE Receive FIFO not empty, RO: 0 Receive FIFO is empty. 1 Receive FIFO is not empty. 2 1 read-only TFE Transmit FIFO empty, RO: 0 Transmit FIFO is not empty. 1 Transmit FIFO is empty. 0 1 read-only TNF Transmit FIFO not full, RO: 0 Transmit FIFO is full. 1 Transmit FIFO is not full. 1 1 read-only SPI1 SPI0 0x40040000 0x0 0x1000 registers n SPI1_IRQ 19 SSPCPSR Clock prescale register, SSPCPSR on page 3-8 0x10 32 read-write n 0x0 0x0 CPSDVSR Clock prescale divisor. Must be an even number from 2-254, depending on the frequency of SSPCLK. The least significant bit always returns zero on reads. 0 8 read-write SSPCR0 Control register 0, SSPCR0 on page 3-4 0x0 32 read-write n 0x0 0x0 DSS Data Size Select: 0000 Reserved, undefined operation. 0001 Reserved, undefined operation. 0010 Reserved, undefined operation. 0011 4-bit data. 0100 5-bit data. 0101 6-bit data. 0110 7-bit data. 0111 8-bit data. 1000 9-bit data. 1001 10-bit data. 1010 11-bit data. 1011 12-bit data. 1100 13-bit data. 1101 14-bit data. 1110 15-bit data. 1111 16-bit data. 0 4 read-write FRF Frame format: 00 Motorola SPI frame format. 01 TI synchronous serial frame format. 10 National Microwire frame format. 11 Reserved, undefined operation. 4 2 read-write SCR Serial clock rate. The value SCR is used to generate the transmit and receive bit rate of the PrimeCell SSP. The bit rate is: F SSPCLK CPSDVSR x (1+SCR) where CPSDVSR is an even value from 2-254, programmed through the SSPCPSR register and SCR is a value from 0-255. 8 8 read-write SPH SSPCLKOUT phase, applicable to Motorola SPI frame format only. See Motorola SPI frame format on page 2-10. 7 1 read-write SPO SSPCLKOUT polarity, applicable to Motorola SPI frame format only. See Motorola SPI frame format on page 2-10. 6 1 read-write SSPCR1 Control register 1, SSPCR1 on page 3-5 0x4 32 read-write n 0x0 0x0 LBM Loop back mode: 0 Normal serial port operation enabled. 1 Output of transmit serial shifter is connected to input of receive serial shifter internally. 0 1 read-write MS Master or slave mode select. This bit can be modified only when the PrimeCell SSP is disabled, SSE=0: 0 Device configured as master, default. 1 Device configured as slave. 2 1 read-write SOD Slave-mode output disable. This bit is relevant only in the slave mode, MS=1. In multiple-slave systems, it is possible for an PrimeCell SSP master to broadcast a message to all slaves in the system while ensuring that only one slave drives data onto its serial output line. In such systems the RXD lines from multiple slaves could be tied together. To operate in such systems, the SOD bit can be set if the PrimeCell SSP slave is not supposed to drive the SSPTXD line: 0 SSP can drive the SSPTXD output in slave mode. 1 SSP must not drive the SSPTXD output in slave mode. 3 1 read-write SSE Synchronous serial port enable: 0 SSP operation disabled. 1 SSP operation enabled. 1 1 read-write SSPDMACR DMA control register, SSPDMACR on page 3-12 0x24 32 read-write n 0x0 0x0 RXDMAE Receive DMA Enable. If this bit is set to 1, DMA for the receive FIFO is enabled. 0 1 read-write TXDMAE Transmit DMA Enable. If this bit is set to 1, DMA for the transmit FIFO is enabled. 1 1 read-write SSPDR Data register, SSPDR on page 3-6 0x8 32 read-write n 0x0 0x0 DATA Transmit/Receive FIFO: Read Receive FIFO. Write Transmit FIFO. You must right-justify data when the PrimeCell SSP is programmed for a data size that is less than 16 bits. Unused bits at the top are ignored by transmit logic. The receive logic automatically right-justifies. 0 16 read-write SSPICR Interrupt clear register, SSPICR on page 3-11 0x20 32 read-write n 0x0 0x0 RORIC Clears the SSPRORINTR interrupt 0 1 read-write oneToClear RTIC Clears the SSPRTINTR interrupt 1 1 read-write oneToClear SSPIMSC Interrupt mask set or clear register, SSPIMSC on page 3-9 0x14 32 read-write n 0x0 0x0 RORIM Receive overrun interrupt mask: 0 Receive FIFO written to while full condition interrupt is masked. 1 Receive FIFO written to while full condition interrupt is not masked. 0 1 read-write RTIM Receive timeout interrupt mask: 0 Receive FIFO not empty and no read prior to timeout period interrupt is masked. 1 Receive FIFO not empty and no read prior to timeout period interrupt is not masked. 1 1 read-write RXIM Receive FIFO interrupt mask: 0 Receive FIFO half full or less condition interrupt is masked. 1 Receive FIFO half full or less condition interrupt is not masked. 2 1 read-write TXIM Transmit FIFO interrupt mask: 0 Transmit FIFO half empty or less condition interrupt is masked. 1 Transmit FIFO half empty or less condition interrupt is not masked. 3 1 read-write SSPMIS Masked interrupt status register, SSPMIS on page 3-11 0x1C 32 read-write n 0x0 0x0 RORMIS Gives the receive over run masked interrupt status, after masking, of the SSPRORINTR interrupt 0 1 read-only RTMIS Gives the receive timeout masked interrupt state, after masking, of the SSPRTINTR interrupt 1 1 read-only RXMIS Gives the receive FIFO masked interrupt state, after masking, of the SSPRXINTR interrupt 2 1 read-only TXMIS Gives the transmit FIFO masked interrupt state, after masking, of the SSPTXINTR interrupt 3 1 read-only SSPPCELLID0 PrimeCell identification registers, SSPPCellID0-3 on page 3-16 0xFF0 32 read-write n 0xD 0x0 SSPPCELLID0 These bits read back as 0x0D 0 8 read-only SSPPCELLID1 PrimeCell identification registers, SSPPCellID0-3 on page 3-16 0xFF4 32 read-write n 0xF0 0x0 SSPPCELLID1 These bits read back as 0xF0 0 8 read-only SSPPCELLID2 PrimeCell identification registers, SSPPCellID0-3 on page 3-16 0xFF8 32 read-write n 0x5 0x0 SSPPCELLID2 These bits read back as 0x05 0 8 read-only SSPPCELLID3 PrimeCell identification registers, SSPPCellID0-3 on page 3-16 0xFFC 32 read-write n 0xB1 0x0 SSPPCELLID3 These bits read back as 0xB1 0 8 read-only SSPPERIPHID0 Peripheral identification registers, SSPPeriphID0-3 on page 3-13 0xFE0 32 read-write n 0x22 0x0 PARTNUMBER0 These bits read back as 0x22 0 8 read-only SSPPERIPHID1 Peripheral identification registers, SSPPeriphID0-3 on page 3-13 0xFE4 32 read-write n 0x10 0x0 DESIGNER0 These bits read back as 0x1 4 4 read-only PARTNUMBER1 These bits read back as 0x0 0 4 read-only SSPPERIPHID2 Peripheral identification registers, SSPPeriphID0-3 on page 3-13 0xFE8 32 read-write n 0x34 0x0 DESIGNER1 These bits read back as 0x4 0 4 read-only REVISION These bits return the peripheral revision 4 4 read-only SSPPERIPHID3 Peripheral identification registers, SSPPeriphID0-3 on page 3-13 0xFEC 32 read-write n 0x0 0x0 CONFIGURATION These bits read back as 0x00 0 8 read-only SSPRIS Raw interrupt status register, SSPRIS on page 3-10 0x18 32 read-write n 0x8 0x0 RORRIS Gives the raw interrupt state, prior to masking, of the SSPRORINTR interrupt 0 1 read-only RTRIS Gives the raw interrupt state, prior to masking, of the SSPRTINTR interrupt 1 1 read-only RXRIS Gives the raw interrupt state, prior to masking, of the SSPRXINTR interrupt 2 1 read-only TXRIS Gives the raw interrupt state, prior to masking, of the SSPTXINTR interrupt 3 1 read-only SSPSR Status register, SSPSR on page 3-7 0xC 32 read-write n 0x3 0x0 BSY PrimeCell SSP busy flag, RO: 0 SSP is idle. 1 SSP is currently transmitting and/or receiving a frame or the transmit FIFO is not empty. 4 1 read-only RFF Receive FIFO full, RO: 0 Receive FIFO is not full. 1 Receive FIFO is full. 3 1 read-only RNE Receive FIFO not empty, RO: 0 Receive FIFO is empty. 1 Receive FIFO is not empty. 2 1 read-only TFE Transmit FIFO empty, RO: 0 Transmit FIFO is not empty. 1 Transmit FIFO is empty. 0 1 read-only TNF Transmit FIFO not full, RO: 0 Transmit FIFO is full. 1 Transmit FIFO is not full. 1 1 read-only SYSCFG Register block for various chip control signals SYSCFG 0x40004000 0x0 0x1000 registers n DBGFORCE Directly control the SWD debug port of either processor 0x14 32 read-write n 0x66 0x0 PROC0_ATTACH Attach processor 0 debug port to syscfg controls, and disconnect it from external SWD pads. 3 1 read-write PROC0_SWCLK Directly drive processor 0 SWCLK, if PROC0_ATTACH is set 2 1 read-write PROC0_SWDI Directly drive processor 0 SWDIO input, if PROC0_ATTACH is set 1 1 read-write PROC0_SWDO Observe the value of processor 0 SWDIO output. 0 1 read-only PROC1_ATTACH Attach processor 1 debug port to syscfg controls, and disconnect it from external SWD pads. 7 1 read-write PROC1_SWCLK Directly drive processor 1 SWCLK, if PROC1_ATTACH is set 6 1 read-write PROC1_SWDI Directly drive processor 1 SWDIO input, if PROC1_ATTACH is set 5 1 read-write PROC1_SWDO Observe the value of processor 1 SWDIO output. 4 1 read-only MEMPOWERDOWN Control power downs to memories. Set high to power down memories. Use with extreme caution 0x18 32 read-write n 0x0 0x0 ROM 7 1 read-write SRAM0 0 1 read-write SRAM1 1 1 read-write SRAM2 2 1 read-write SRAM3 3 1 read-write SRAM4 4 1 read-write SRAM5 5 1 read-write USB 6 1 read-write PROC0_NMI_MASK Processor core 0 NMI source mask Set a bit high to enable NMI from that IRQ 0x0 32 read-write n 0x0 0x0 PROC1_NMI_MASK Processor core 1 NMI source mask Set a bit high to enable NMI from that IRQ 0x4 32 read-write n 0x0 0x0 PROC_CONFIG Configuration for processors 0x8 32 read-write n 0x10000000 0x0 PROC0_DAP_INSTID Configure proc0 DAP instance ID. Recommend that this is NOT changed until you require debug access in multi-chip environment WARNING: do not set to 15 as this is reserved for RescueDP 24 4 read-write PROC0_HALTED Indication that proc0 has halted 0 1 read-only PROC1_DAP_INSTID Configure proc1 DAP instance ID. Recommend that this is NOT changed until you require debug access in multi-chip environment WARNING: do not set to 15 as this is reserved for RescueDP 28 4 read-write PROC1_HALTED Indication that proc1 has halted 1 1 read-only PROC_IN_SYNC_BYPASS For each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors. If you're feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 0...29. 0xC 32 read-write n 0x0 0x0 PROC_IN_SYNC_BYPASS 0 30 read-write PROC_IN_SYNC_BYPASS_HI For each bit, if 1, bypass the input synchronizer between that GPIO and the GPIO input register in the SIO. The input synchronizers should generally be unbypassed, to avoid injecting metastabilities into processors. If you're feeling brave, you can bypass to save two cycles of input latency. This register applies to GPIO 30...35 (the QSPI IOs). 0x10 32 read-write n 0x0 0x0 PROC_IN_SYNC_BYPASS_HI 0 6 read-write SYSINFO SYSINFO 0x40000000 0x0 0x1000 registers n CHIP_ID JEDEC JEP-106 compliant chip identifier. 0x0 32 read-write n 0x0 0x0 MANUFACTURER 0 12 read-only PART 12 16 read-only REVISION 28 4 read-only GITREF_RP2040 Git hash of the chip source. Used to identify chip version. 0x40 32 read-only n 0x0 0x0 PLATFORM Platform register. Allows software to know what environment it is running in. 0x4 32 read-write n 0x0 0x0 ASIC 1 1 read-only FPGA 0 1 read-only TBMAN Testbench manager. Allows the programmer to know what platform their software is running on. TBMAN 0x4006C000 0x0 0x1000 registers n PLATFORM Indicates the type of platform in use 0x0 32 read-write n 0x5 0x0 ASIC Indicates the platform is an ASIC 0 1 read-only FPGA Indicates the platform is an FPGA 1 1 read-only TIMER Controls time and alarms time is a 64 bit value indicating the time in usec since power-on timeh is the top 32 bits of time & timel is the bottom 32 bits to change time write to timelw before timehw to read time read from timelr before timehr An alarm is set by setting alarm_enable and writing to the corresponding alarm register When an alarm is pending, the corresponding alarm_running signal will be high An alarm can be cancelled before it has finished by clearing the alarm_enable When an alarm fires, the corresponding alarm_irq is set and alarm_running is cleared To clear the interrupt write a 1 to the corresponding alarm_irq TIMER 0x40054000 0x0 0x1000 registers n TIMER_IRQ_0 0 TIMER_IRQ_1 1 TIMER_IRQ_2 2 TIMER_IRQ_3 3 ALARM0 Arm alarm 0, and configure the time it will fire. Once armed, the alarm fires when TIMER_ALARM0 == TIMELR. The alarm will disarm itself once it fires, and can be disarmed early using the ARMED status register. 0x10 32 read-write n 0x0 0x0 ALARM1 Arm alarm 1, and configure the time it will fire. Once armed, the alarm fires when TIMER_ALARM1 == TIMELR. The alarm will disarm itself once it fires, and can be disarmed early using the ARMED status register. 0x14 32 read-write n 0x0 0x0 ALARM2 Arm alarm 2, and configure the time it will fire. Once armed, the alarm fires when TIMER_ALARM2 == TIMELR. The alarm will disarm itself once it fires, and can be disarmed early using the ARMED status register. 0x18 32 read-write n 0x0 0x0 ALARM3 Arm alarm 3, and configure the time it will fire. Once armed, the alarm fires when TIMER_ALARM3 == TIMELR. The alarm will disarm itself once it fires, and can be disarmed early using the ARMED status register. 0x1C 32 read-write n 0x0 0x0 ARMED Indicates the armed/disarmed status of each alarm. A write to the corresponding ALARMx register arms the alarm. Alarms automatically disarm upon firing, but writing ones here will disarm immediately without waiting to fire. 0x20 32 read-write n 0x0 0x0 ARMED 0 4 read-write oneToClear DBGPAUSE Set bits high to enable pause when the corresponding debug ports are active 0x2C 32 read-write n 0x7 0x0 DBG0 Pause when processor 0 is in debug mode 1 1 read-write DBG1 Pause when processor 1 is in debug mode 2 1 read-write INTE Interrupt Enable 0x38 32 read-write n 0x0 0x0 ALARM_0 0 1 read-write ALARM_1 1 1 read-write ALARM_2 2 1 read-write ALARM_3 3 1 read-write INTF Interrupt Force 0x3C 32 read-write n 0x0 0x0 ALARM_0 0 1 read-write ALARM_1 1 1 read-write ALARM_2 2 1 read-write ALARM_3 3 1 read-write INTR Raw Interrupts 0x34 32 read-write n 0x0 0x0 ALARM_0 0 1 read-write oneToClear ALARM_1 1 1 read-write oneToClear ALARM_2 2 1 read-write oneToClear ALARM_3 3 1 read-write oneToClear INTS Interrupt status after masking & forcing 0x40 32 read-write n 0x0 0x0 ALARM_0 0 1 read-only ALARM_1 1 1 read-only ALARM_2 2 1 read-only ALARM_3 3 1 read-only PAUSE Set high to pause the timer 0x30 32 read-write n 0x0 0x0 PAUSE 0 1 read-write TIMEHR Read from bits 63:32 of time always read timelr before timehr 0x8 32 read-only n 0x0 0x0 TIMEHW Write to bits 63:32 of time always write timelw before timehw 0x0 32 write-only n 0x0 0x0 TIMELR Read from bits 31:0 of time 0xC 32 read-only n 0x0 0x0 TIMELW Write to bits 31:0 of time writes do not get copied to time until timehw is written 0x4 32 write-only n 0x0 0x0 TIMERAWH Raw read from bits 63:32 of time (no side effects) 0x24 32 read-only n 0x0 0x0 TIMERAWL Raw read from bits 31:0 of time (no side effects) 0x28 32 read-only n 0x0 0x0 UART0 UART0 0x40034000 0x0 0x1000 registers n UART0_IRQ 20 UARTCR Control Register, UARTCR 0x30 32 read-write n 0x300 0x0 CTSEN CTS hardware flow control enable. If this bit is set to 1, CTS hardware flow control is enabled. Data is only transmitted when the nUARTCTS signal is asserted. 15 1 read-write DTR Data transmit ready. This bit is the complement of the UART data transmit ready, nUARTDTR, modem status output. That is, when the bit is programmed to a 1 then nUARTDTR is LOW. 10 1 read-write LBE Loopback enable. If this bit is set to 1 and the SIREN bit is set to 1 and the SIRTEST bit in the Test Control Register, UARTTCR is set to 1, then the nSIROUT path is inverted, and fed through to the SIRIN path. The SIRTEST bit in the test register must be set to 1 to override the normal half-duplex SIR operation. This must be the requirement for accessing the test registers during normal operation, and SIRTEST must be cleared to 0 when loopback testing is finished. This feature reduces the amount of external coupling required during system test. If this bit is set to 1, and the SIRTEST bit is set to 0, the UARTTXD path is fed through to the UARTRXD path. In either SIR mode or UART mode, when this bit is set, the modem outputs are also fed through to the modem inputs. This bit is cleared to 0 on reset, to disable loopback. 7 1 read-write OUT1 This bit is the complement of the UART Out1 (nUARTOut1) modem status output. That is, when the bit is programmed to a 1 the output is 0. For DTE this can be used as Data Carrier Detect (DCD). 12 1 read-write OUT2 This bit is the complement of the UART Out2 (nUARTOut2) modem status output. That is, when the bit is programmed to a 1, the output is 0. For DTE this can be used as Ring Indicator (RI). 13 1 read-write RTS Request to send. This bit is the complement of the UART request to send, nUARTRTS, modem status output. That is, when the bit is programmed to a 1 then nUARTRTS is LOW. 11 1 read-write RTSEN RTS hardware flow control enable. If this bit is set to 1, RTS hardware flow control is enabled. Data is only requested when there is space in the receive FIFO for it to be received. 14 1 read-write RXE Receive enable. If this bit is set to 1, the receive section of the UART is enabled. Data reception occurs for either UART signals or SIR signals depending on the setting of the SIREN bit. When the UART is disabled in the middle of reception, it completes the current character before stopping. 9 1 read-write SIREN SIR enable: 0 = IrDA SIR ENDEC is disabled. nSIROUT remains LOW (no light pulse generated), and signal transitions on SIRIN have no effect. 1 = IrDA SIR ENDEC is enabled. Data is transmitted and received on nSIROUT and SIRIN. UARTTXD remains HIGH, in the marking state. Signal transitions on UARTRXD or modem status inputs have no effect. This bit has no effect if the UARTEN bit disables the UART. 1 1 read-write SIRLP SIR low-power IrDA mode. This bit selects the IrDA encoding mode. If this bit is cleared to 0, low-level bits are transmitted as an active high pulse with a width of 3 / 16th of the bit period. If this bit is set to 1, low-level bits are transmitted with a pulse width that is 3 times the period of the IrLPBaud16 input signal, regardless of the selected bit rate. Setting this bit uses less power, but might reduce transmission distances. 2 1 read-write TXE Transmit enable. If this bit is set to 1, the transmit section of the UART is enabled. Data transmission occurs for either UART signals, or SIR signals depending on the setting of the SIREN bit. When the UART is disabled in the middle of transmission, it completes the current character before stopping. 8 1 read-write UARTEN UART enable: 0 = UART is disabled. If the UART is disabled in the middle of transmission or reception, it completes the current character before stopping. 1 = the UART is enabled. Data transmission and reception occurs for either UART signals or SIR signals depending on the setting of the SIREN bit. 0 1 read-write UARTDMACR DMA Control Register, UARTDMACR 0x48 32 read-write n 0x0 0x0 DMAONERR DMA on error. If this bit is set to 1, the DMA receive request outputs, UARTRXDMASREQ or UARTRXDMABREQ, are disabled when the UART error interrupt is asserted. 2 1 read-write RXDMAE Receive DMA enable. If this bit is set to 1, DMA for the receive FIFO is enabled. 0 1 read-write TXDMAE Transmit DMA enable. If this bit is set to 1, DMA for the transmit FIFO is enabled. 1 1 read-write UARTDR Data Register, UARTDR 0x0 32 read-write n 0x0 0x0 BE Break error. This bit is set to 1 if a break condition was detected, indicating that the received data input was held LOW for longer than a full-word transmission time (defined as start, data, parity and stop bits). In FIFO mode, this error is associated with the character at the top of the FIFO. When a break occurs, only one 0 character is loaded into the FIFO. The next character is only enabled after the receive data input goes to a 1 (marking state), and the next valid start bit is received. 10 1 read-only DATA Receive (read) data character. Transmit (write) data character. 0 8 read-write FE Framing error. When set to 1, it indicates that the received character did not have a valid stop bit (a valid stop bit is 1). In FIFO mode, this error is associated with the character at the top of the FIFO. 8 1 read-only OE Overrun error. This bit is set to 1 if data is received and the receive FIFO is already full. This is cleared to 0 once there is an empty space in the FIFO and a new character can be written to it. 11 1 read-only PE Parity error. When set to 1, it indicates that the parity of the received data character does not match the parity that the EPS and SPS bits in the Line Control Register, UARTLCR_H. In FIFO mode, this error is associated with the character at the top of the FIFO. 9 1 read-only UARTFBRD Fractional Baud Rate Register, UARTFBRD 0x28 32 read-write n 0x0 0x0 BAUD_DIVFRAC The fractional baud rate divisor. These bits are cleared to 0 on reset. 0 6 read-write UARTFR Flag Register, UARTFR 0x18 32 read-write n 0x90 0x0 BUSY UART busy. If this bit is set to 1, the UART is busy transmitting data. This bit remains set until the complete byte, including all the stop bits, has been sent from the shift register. This bit is set as soon as the transmit FIFO becomes non-empty, regardless of whether the UART is enabled or not. 3 1 read-only CTS Clear to send. This bit is the complement of the UART clear to send, nUARTCTS, modem status input. That is, the bit is 1 when nUARTCTS is LOW. 0 1 read-only DCD Data carrier detect. This bit is the complement of the UART data carrier detect, nUARTDCD, modem status input. That is, the bit is 1 when nUARTDCD is LOW. 2 1 read-only DSR Data set ready. This bit is the complement of the UART data set ready, nUARTDSR, modem status input. That is, the bit is 1 when nUARTDSR is LOW. 1 1 read-only RI Ring indicator. This bit is the complement of the UART ring indicator, nUARTRI, modem status input. That is, the bit is 1 when nUARTRI is LOW. 8 1 read-only RXFE Receive FIFO empty. The meaning of this bit depends on the state of the FEN bit in the UARTLCR_H Register. If the FIFO is disabled, this bit is set when the receive holding register is empty. If the FIFO is enabled, the RXFE bit is set when the receive FIFO is empty. 4 1 read-only RXFF Receive FIFO full. The meaning of this bit depends on the state of the FEN bit in the UARTLCR_H Register. If the FIFO is disabled, this bit is set when the receive holding register is full. If the FIFO is enabled, the RXFF bit is set when the receive FIFO is full. 6 1 read-only TXFE Transmit FIFO empty. The meaning of this bit depends on the state of the FEN bit in the Line Control Register, UARTLCR_H. If the FIFO is disabled, this bit is set when the transmit holding register is empty. If the FIFO is enabled, the TXFE bit is set when the transmit FIFO is empty. This bit does not indicate if there is data in the transmit shift register. 7 1 read-only TXFF Transmit FIFO full. The meaning of this bit depends on the state of the FEN bit in the UARTLCR_H Register. If the FIFO is disabled, this bit is set when the transmit holding register is full. If the FIFO is enabled, the TXFF bit is set when the transmit FIFO is full. 5 1 read-only UARTIBRD Integer Baud Rate Register, UARTIBRD 0x24 32 read-write n 0x0 0x0 BAUD_DIVINT The integer baud rate divisor. These bits are cleared to 0 on reset. 0 16 read-write UARTICR Interrupt Clear Register, UARTICR 0x44 32 read-write n 0x0 0x0 BEIC Break error interrupt clear. Clears the UARTBEINTR interrupt. 9 1 read-write oneToClear CTSMIC nUARTCTS modem interrupt clear. Clears the UARTCTSINTR interrupt. 1 1 read-write oneToClear DCDMIC nUARTDCD modem interrupt clear. Clears the UARTDCDINTR interrupt. 2 1 read-write oneToClear DSRMIC nUARTDSR modem interrupt clear. Clears the UARTDSRINTR interrupt. 3 1 read-write oneToClear FEIC Framing error interrupt clear. Clears the UARTFEINTR interrupt. 7 1 read-write oneToClear OEIC Overrun error interrupt clear. Clears the UARTOEINTR interrupt. 10 1 read-write oneToClear PEIC Parity error interrupt clear. Clears the UARTPEINTR interrupt. 8 1 read-write oneToClear RIMIC nUARTRI modem interrupt clear. Clears the UARTRIINTR interrupt. 0 1 read-write oneToClear RTIC Receive timeout interrupt clear. Clears the UARTRTINTR interrupt. 6 1 read-write oneToClear RXIC Receive interrupt clear. Clears the UARTRXINTR interrupt. 4 1 read-write oneToClear TXIC Transmit interrupt clear. Clears the UARTTXINTR interrupt. 5 1 read-write oneToClear UARTIFLS Interrupt FIFO Level Select Register, UARTIFLS 0x34 32 read-write n 0x12 0x0 RXIFLSEL Receive interrupt FIFO level select. The trigger points for the receive interrupt are as follows: b000 = Receive FIFO becomes >= 1 / 8 full b001 = Receive FIFO becomes >= 1 / 4 full b010 = Receive FIFO becomes >= 1 / 2 full b011 = Receive FIFO becomes >= 3 / 4 full b100 = Receive FIFO becomes >= 7 / 8 full b101-b111 = reserved. 3 3 read-write TXIFLSEL Transmit interrupt FIFO level select. The trigger points for the transmit interrupt are as follows: b000 = Transmit FIFO becomes <= 1 / 8 full b001 = Transmit FIFO becomes <= 1 / 4 full b010 = Transmit FIFO becomes <= 1 / 2 full b011 = Transmit FIFO becomes <= 3 / 4 full b100 = Transmit FIFO becomes <= 7 / 8 full b101-b111 = reserved. 0 3 read-write UARTILPR IrDA Low-Power Counter Register, UARTILPR 0x20 32 read-write n 0x0 0x0 ILPDVSR 8-bit low-power divisor value. These bits are cleared to 0 at reset. 0 8 read-write UARTIMSC Interrupt Mask Set/Clear Register, UARTIMSC 0x38 32 read-write n 0x0 0x0 BEIM Break error interrupt mask. A read returns the current mask for the UARTBEINTR interrupt. On a write of 1, the mask of the UARTBEINTR interrupt is set. A write of 0 clears the mask. 9 1 read-write CTSMIM nUARTCTS modem interrupt mask. A read returns the current mask for the UARTCTSINTR interrupt. On a write of 1, the mask of the UARTCTSINTR interrupt is set. A write of 0 clears the mask. 1 1 read-write DCDMIM nUARTDCD modem interrupt mask. A read returns the current mask for the UARTDCDINTR interrupt. On a write of 1, the mask of the UARTDCDINTR interrupt is set. A write of 0 clears the mask. 2 1 read-write DSRMIM nUARTDSR modem interrupt mask. A read returns the current mask for the UARTDSRINTR interrupt. On a write of 1, the mask of the UARTDSRINTR interrupt is set. A write of 0 clears the mask. 3 1 read-write FEIM Framing error interrupt mask. A read returns the current mask for the UARTFEINTR interrupt. On a write of 1, the mask of the UARTFEINTR interrupt is set. A write of 0 clears the mask. 7 1 read-write OEIM Overrun error interrupt mask. A read returns the current mask for the UARTOEINTR interrupt. On a write of 1, the mask of the UARTOEINTR interrupt is set. A write of 0 clears the mask. 10 1 read-write PEIM Parity error interrupt mask. A read returns the current mask for the UARTPEINTR interrupt. On a write of 1, the mask of the UARTPEINTR interrupt is set. A write of 0 clears the mask. 8 1 read-write RIMIM nUARTRI modem interrupt mask. A read returns the current mask for the UARTRIINTR interrupt. On a write of 1, the mask of the UARTRIINTR interrupt is set. A write of 0 clears the mask. 0 1 read-write RTIM Receive timeout interrupt mask. A read returns the current mask for the UARTRTINTR interrupt. On a write of 1, the mask of the UARTRTINTR interrupt is set. A write of 0 clears the mask. 6 1 read-write RXIM Receive interrupt mask. A read returns the current mask for the UARTRXINTR interrupt. On a write of 1, the mask of the UARTRXINTR interrupt is set. A write of 0 clears the mask. 4 1 read-write TXIM Transmit interrupt mask. A read returns the current mask for the UARTTXINTR interrupt. On a write of 1, the mask of the UARTTXINTR interrupt is set. A write of 0 clears the mask. 5 1 read-write UARTLCR_H Line Control Register, UARTLCR_H 0x2C 32 read-write n 0x0 0x0 BRK Send break. If this bit is set to 1, a low-level is continually output on the UARTTXD output, after completing transmission of the current character. For the proper execution of the break command, the software must set this bit for at least two complete frames. For normal use, this bit must be cleared to 0. 0 1 read-write EPS Even parity select. Controls the type of parity the UART uses during transmission and reception: 0 = odd parity. The UART generates or checks for an odd number of 1s in the data and parity bits. 1 = even parity. The UART generates or checks for an even number of 1s in the data and parity bits. This bit has no effect when the PEN bit disables parity checking and generation. 2 1 read-write FEN Enable FIFOs: 0 = FIFOs are disabled (character mode) that is, the FIFOs become 1-byte-deep holding registers 1 = transmit and receive FIFO buffers are enabled (FIFO mode). 4 1 read-write PEN Parity enable: 0 = parity is disabled and no parity bit added to the data frame 1 = parity checking and generation is enabled. 1 1 read-write SPS Stick parity select. 0 = stick parity is disabled 1 = either: * if the EPS bit is 0 then the parity bit is transmitted and checked as a 1 * if the EPS bit is 1 then the parity bit is transmitted and checked as a 0. This bit has no effect when the PEN bit disables parity checking and generation. 7 1 read-write STP2 Two stop bits select. If this bit is set to 1, two stop bits are transmitted at the end of the frame. The receive logic does not check for two stop bits being received. 3 1 read-write WLEN Word length. These bits indicate the number of data bits transmitted or received in a frame as follows: b11 = 8 bits b10 = 7 bits b01 = 6 bits b00 = 5 bits. 5 2 read-write UARTMIS Masked Interrupt Status Register, UARTMIS 0x40 32 read-write n 0x0 0x0 BEMIS Break error masked interrupt status. Returns the masked interrupt state of the UARTBEINTR interrupt. 9 1 read-only CTSMMIS nUARTCTS modem masked interrupt status. Returns the masked interrupt state of the UARTCTSINTR interrupt. 1 1 read-only DCDMMIS nUARTDCD modem masked interrupt status. Returns the masked interrupt state of the UARTDCDINTR interrupt. 2 1 read-only DSRMMIS nUARTDSR modem masked interrupt status. Returns the masked interrupt state of the UARTDSRINTR interrupt. 3 1 read-only FEMIS Framing error masked interrupt status. Returns the masked interrupt state of the UARTFEINTR interrupt. 7 1 read-only OEMIS Overrun error masked interrupt status. Returns the masked interrupt state of the UARTOEINTR interrupt. 10 1 read-only PEMIS Parity error masked interrupt status. Returns the masked interrupt state of the UARTPEINTR interrupt. 8 1 read-only RIMMIS nUARTRI modem masked interrupt status. Returns the masked interrupt state of the UARTRIINTR interrupt. 0 1 read-only RTMIS Receive timeout masked interrupt status. Returns the masked interrupt state of the UARTRTINTR interrupt. 6 1 read-only RXMIS Receive masked interrupt status. Returns the masked interrupt state of the UARTRXINTR interrupt. 4 1 read-only TXMIS Transmit masked interrupt status. Returns the masked interrupt state of the UARTTXINTR interrupt. 5 1 read-only UARTPCELLID0 UARTPCellID0 Register 0xFF0 32 read-write n 0xD 0x0 UARTPCELLID0 These bits read back as 0x0D 0 8 read-only UARTPCELLID1 UARTPCellID1 Register 0xFF4 32 read-write n 0xF0 0x0 UARTPCELLID1 These bits read back as 0xF0 0 8 read-only UARTPCELLID2 UARTPCellID2 Register 0xFF8 32 read-write n 0x5 0x0 UARTPCELLID2 These bits read back as 0x05 0 8 read-only UARTPCELLID3 UARTPCellID3 Register 0xFFC 32 read-write n 0xB1 0x0 UARTPCELLID3 These bits read back as 0xB1 0 8 read-only UARTPERIPHID0 UARTPeriphID0 Register 0xFE0 32 read-write n 0x11 0x0 PARTNUMBER0 These bits read back as 0x11 0 8 read-only UARTPERIPHID1 UARTPeriphID1 Register 0xFE4 32 read-write n 0x10 0x0 DESIGNER0 These bits read back as 0x1 4 4 read-only PARTNUMBER1 These bits read back as 0x0 0 4 read-only UARTPERIPHID2 UARTPeriphID2 Register 0xFE8 32 read-write n 0x34 0x0 DESIGNER1 These bits read back as 0x4 0 4 read-only REVISION This field depends on the revision of the UART: r1p0 0x0 r1p1 0x1 r1p3 0x2 r1p4 0x2 r1p5 0x3 4 4 read-only UARTPERIPHID3 UARTPeriphID3 Register 0xFEC 32 read-write n 0x0 0x0 CONFIGURATION These bits read back as 0x00 0 8 read-only UARTRIS Raw Interrupt Status Register, UARTRIS 0x3C 32 read-write n 0x0 0x0 BERIS Break error interrupt status. Returns the raw interrupt state of the UARTBEINTR interrupt. 9 1 read-only CTSRMIS nUARTCTS modem interrupt status. Returns the raw interrupt state of the UARTCTSINTR interrupt. 1 1 read-only DCDRMIS nUARTDCD modem interrupt status. Returns the raw interrupt state of the UARTDCDINTR interrupt. 2 1 read-only DSRRMIS nUARTDSR modem interrupt status. Returns the raw interrupt state of the UARTDSRINTR interrupt. 3 1 read-only FERIS Framing error interrupt status. Returns the raw interrupt state of the UARTFEINTR interrupt. 7 1 read-only OERIS Overrun error interrupt status. Returns the raw interrupt state of the UARTOEINTR interrupt. 10 1 read-only PERIS Parity error interrupt status. Returns the raw interrupt state of the UARTPEINTR interrupt. 8 1 read-only RIRMIS nUARTRI modem interrupt status. Returns the raw interrupt state of the UARTRIINTR interrupt. 0 1 read-only RTRIS Receive timeout interrupt status. Returns the raw interrupt state of the UARTRTINTR interrupt. a 6 1 read-only RXRIS Receive interrupt status. Returns the raw interrupt state of the UARTRXINTR interrupt. 4 1 read-only TXRIS Transmit interrupt status. Returns the raw interrupt state of the UARTTXINTR interrupt. 5 1 read-only UARTRSR Receive Status Register/Error Clear Register, UARTRSR/UARTECR 0x4 32 read-write n 0x0 0x0 BE Break error. This bit is set to 1 if a break condition was detected, indicating that the received data input was held LOW for longer than a full-word transmission time (defined as start, data, parity, and stop bits). This bit is cleared to 0 after a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO. When a break occurs, only one 0 character is loaded into the FIFO. The next character is only enabled after the receive data input goes to a 1 (marking state) and the next valid start bit is received. 2 1 read-write oneToClear FE Framing error. When set to 1, it indicates that the received character did not have a valid stop bit (a valid stop bit is 1). This bit is cleared to 0 by a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO. 0 1 read-write oneToClear OE Overrun error. This bit is set to 1 if data is received and the FIFO is already full. This bit is cleared to 0 by a write to UARTECR. The FIFO contents remain valid because no more data is written when the FIFO is full, only the contents of the shift register are overwritten. The CPU must now read the data, to empty the FIFO. 3 1 read-write oneToClear PE Parity error. When set to 1, it indicates that the parity of the received data character does not match the parity that the EPS and SPS bits in the Line Control Register, UARTLCR_H. This bit is cleared to 0 by a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO. 1 1 read-write oneToClear UART1 UART0 0x40038000 0x0 0x1000 registers n UART1_IRQ 21 UARTCR Control Register, UARTCR 0x30 32 read-write n 0x300 0x0 CTSEN CTS hardware flow control enable. If this bit is set to 1, CTS hardware flow control is enabled. Data is only transmitted when the nUARTCTS signal is asserted. 15 1 read-write DTR Data transmit ready. This bit is the complement of the UART data transmit ready, nUARTDTR, modem status output. That is, when the bit is programmed to a 1 then nUARTDTR is LOW. 10 1 read-write LBE Loopback enable. If this bit is set to 1 and the SIREN bit is set to 1 and the SIRTEST bit in the Test Control Register, UARTTCR is set to 1, then the nSIROUT path is inverted, and fed through to the SIRIN path. The SIRTEST bit in the test register must be set to 1 to override the normal half-duplex SIR operation. This must be the requirement for accessing the test registers during normal operation, and SIRTEST must be cleared to 0 when loopback testing is finished. This feature reduces the amount of external coupling required during system test. If this bit is set to 1, and the SIRTEST bit is set to 0, the UARTTXD path is fed through to the UARTRXD path. In either SIR mode or UART mode, when this bit is set, the modem outputs are also fed through to the modem inputs. This bit is cleared to 0 on reset, to disable loopback. 7 1 read-write OUT1 This bit is the complement of the UART Out1 (nUARTOut1) modem status output. That is, when the bit is programmed to a 1 the output is 0. For DTE this can be used as Data Carrier Detect (DCD). 12 1 read-write OUT2 This bit is the complement of the UART Out2 (nUARTOut2) modem status output. That is, when the bit is programmed to a 1, the output is 0. For DTE this can be used as Ring Indicator (RI). 13 1 read-write RTS Request to send. This bit is the complement of the UART request to send, nUARTRTS, modem status output. That is, when the bit is programmed to a 1 then nUARTRTS is LOW. 11 1 read-write RTSEN RTS hardware flow control enable. If this bit is set to 1, RTS hardware flow control is enabled. Data is only requested when there is space in the receive FIFO for it to be received. 14 1 read-write RXE Receive enable. If this bit is set to 1, the receive section of the UART is enabled. Data reception occurs for either UART signals or SIR signals depending on the setting of the SIREN bit. When the UART is disabled in the middle of reception, it completes the current character before stopping. 9 1 read-write SIREN SIR enable: 0 = IrDA SIR ENDEC is disabled. nSIROUT remains LOW (no light pulse generated), and signal transitions on SIRIN have no effect. 1 = IrDA SIR ENDEC is enabled. Data is transmitted and received on nSIROUT and SIRIN. UARTTXD remains HIGH, in the marking state. Signal transitions on UARTRXD or modem status inputs have no effect. This bit has no effect if the UARTEN bit disables the UART. 1 1 read-write SIRLP SIR low-power IrDA mode. This bit selects the IrDA encoding mode. If this bit is cleared to 0, low-level bits are transmitted as an active high pulse with a width of 3 / 16th of the bit period. If this bit is set to 1, low-level bits are transmitted with a pulse width that is 3 times the period of the IrLPBaud16 input signal, regardless of the selected bit rate. Setting this bit uses less power, but might reduce transmission distances. 2 1 read-write TXE Transmit enable. If this bit is set to 1, the transmit section of the UART is enabled. Data transmission occurs for either UART signals, or SIR signals depending on the setting of the SIREN bit. When the UART is disabled in the middle of transmission, it completes the current character before stopping. 8 1 read-write UARTEN UART enable: 0 = UART is disabled. If the UART is disabled in the middle of transmission or reception, it completes the current character before stopping. 1 = the UART is enabled. Data transmission and reception occurs for either UART signals or SIR signals depending on the setting of the SIREN bit. 0 1 read-write UARTDMACR DMA Control Register, UARTDMACR 0x48 32 read-write n 0x0 0x0 DMAONERR DMA on error. If this bit is set to 1, the DMA receive request outputs, UARTRXDMASREQ or UARTRXDMABREQ, are disabled when the UART error interrupt is asserted. 2 1 read-write RXDMAE Receive DMA enable. If this bit is set to 1, DMA for the receive FIFO is enabled. 0 1 read-write TXDMAE Transmit DMA enable. If this bit is set to 1, DMA for the transmit FIFO is enabled. 1 1 read-write UARTDR Data Register, UARTDR 0x0 32 read-write n 0x0 0x0 BE Break error. This bit is set to 1 if a break condition was detected, indicating that the received data input was held LOW for longer than a full-word transmission time (defined as start, data, parity and stop bits). In FIFO mode, this error is associated with the character at the top of the FIFO. When a break occurs, only one 0 character is loaded into the FIFO. The next character is only enabled after the receive data input goes to a 1 (marking state), and the next valid start bit is received. 10 1 read-only DATA Receive (read) data character. Transmit (write) data character. 0 8 read-write FE Framing error. When set to 1, it indicates that the received character did not have a valid stop bit (a valid stop bit is 1). In FIFO mode, this error is associated with the character at the top of the FIFO. 8 1 read-only OE Overrun error. This bit is set to 1 if data is received and the receive FIFO is already full. This is cleared to 0 once there is an empty space in the FIFO and a new character can be written to it. 11 1 read-only PE Parity error. When set to 1, it indicates that the parity of the received data character does not match the parity that the EPS and SPS bits in the Line Control Register, UARTLCR_H. In FIFO mode, this error is associated with the character at the top of the FIFO. 9 1 read-only UARTFBRD Fractional Baud Rate Register, UARTFBRD 0x28 32 read-write n 0x0 0x0 BAUD_DIVFRAC The fractional baud rate divisor. These bits are cleared to 0 on reset. 0 6 read-write UARTFR Flag Register, UARTFR 0x18 32 read-write n 0x90 0x0 BUSY UART busy. If this bit is set to 1, the UART is busy transmitting data. This bit remains set until the complete byte, including all the stop bits, has been sent from the shift register. This bit is set as soon as the transmit FIFO becomes non-empty, regardless of whether the UART is enabled or not. 3 1 read-only CTS Clear to send. This bit is the complement of the UART clear to send, nUARTCTS, modem status input. That is, the bit is 1 when nUARTCTS is LOW. 0 1 read-only DCD Data carrier detect. This bit is the complement of the UART data carrier detect, nUARTDCD, modem status input. That is, the bit is 1 when nUARTDCD is LOW. 2 1 read-only DSR Data set ready. This bit is the complement of the UART data set ready, nUARTDSR, modem status input. That is, the bit is 1 when nUARTDSR is LOW. 1 1 read-only RI Ring indicator. This bit is the complement of the UART ring indicator, nUARTRI, modem status input. That is, the bit is 1 when nUARTRI is LOW. 8 1 read-only RXFE Receive FIFO empty. The meaning of this bit depends on the state of the FEN bit in the UARTLCR_H Register. If the FIFO is disabled, this bit is set when the receive holding register is empty. If the FIFO is enabled, the RXFE bit is set when the receive FIFO is empty. 4 1 read-only RXFF Receive FIFO full. The meaning of this bit depends on the state of the FEN bit in the UARTLCR_H Register. If the FIFO is disabled, this bit is set when the receive holding register is full. If the FIFO is enabled, the RXFF bit is set when the receive FIFO is full. 6 1 read-only TXFE Transmit FIFO empty. The meaning of this bit depends on the state of the FEN bit in the Line Control Register, UARTLCR_H. If the FIFO is disabled, this bit is set when the transmit holding register is empty. If the FIFO is enabled, the TXFE bit is set when the transmit FIFO is empty. This bit does not indicate if there is data in the transmit shift register. 7 1 read-only TXFF Transmit FIFO full. The meaning of this bit depends on the state of the FEN bit in the UARTLCR_H Register. If the FIFO is disabled, this bit is set when the transmit holding register is full. If the FIFO is enabled, the TXFF bit is set when the transmit FIFO is full. 5 1 read-only UARTIBRD Integer Baud Rate Register, UARTIBRD 0x24 32 read-write n 0x0 0x0 BAUD_DIVINT The integer baud rate divisor. These bits are cleared to 0 on reset. 0 16 read-write UARTICR Interrupt Clear Register, UARTICR 0x44 32 read-write n 0x0 0x0 BEIC Break error interrupt clear. Clears the UARTBEINTR interrupt. 9 1 read-write oneToClear CTSMIC nUARTCTS modem interrupt clear. Clears the UARTCTSINTR interrupt. 1 1 read-write oneToClear DCDMIC nUARTDCD modem interrupt clear. Clears the UARTDCDINTR interrupt. 2 1 read-write oneToClear DSRMIC nUARTDSR modem interrupt clear. Clears the UARTDSRINTR interrupt. 3 1 read-write oneToClear FEIC Framing error interrupt clear. Clears the UARTFEINTR interrupt. 7 1 read-write oneToClear OEIC Overrun error interrupt clear. Clears the UARTOEINTR interrupt. 10 1 read-write oneToClear PEIC Parity error interrupt clear. Clears the UARTPEINTR interrupt. 8 1 read-write oneToClear RIMIC nUARTRI modem interrupt clear. Clears the UARTRIINTR interrupt. 0 1 read-write oneToClear RTIC Receive timeout interrupt clear. Clears the UARTRTINTR interrupt. 6 1 read-write oneToClear RXIC Receive interrupt clear. Clears the UARTRXINTR interrupt. 4 1 read-write oneToClear TXIC Transmit interrupt clear. Clears the UARTTXINTR interrupt. 5 1 read-write oneToClear UARTIFLS Interrupt FIFO Level Select Register, UARTIFLS 0x34 32 read-write n 0x12 0x0 RXIFLSEL Receive interrupt FIFO level select. The trigger points for the receive interrupt are as follows: b000 = Receive FIFO becomes >= 1 / 8 full b001 = Receive FIFO becomes >= 1 / 4 full b010 = Receive FIFO becomes >= 1 / 2 full b011 = Receive FIFO becomes >= 3 / 4 full b100 = Receive FIFO becomes >= 7 / 8 full b101-b111 = reserved. 3 3 read-write TXIFLSEL Transmit interrupt FIFO level select. The trigger points for the transmit interrupt are as follows: b000 = Transmit FIFO becomes <= 1 / 8 full b001 = Transmit FIFO becomes <= 1 / 4 full b010 = Transmit FIFO becomes <= 1 / 2 full b011 = Transmit FIFO becomes <= 3 / 4 full b100 = Transmit FIFO becomes <= 7 / 8 full b101-b111 = reserved. 0 3 read-write UARTILPR IrDA Low-Power Counter Register, UARTILPR 0x20 32 read-write n 0x0 0x0 ILPDVSR 8-bit low-power divisor value. These bits are cleared to 0 at reset. 0 8 read-write UARTIMSC Interrupt Mask Set/Clear Register, UARTIMSC 0x38 32 read-write n 0x0 0x0 BEIM Break error interrupt mask. A read returns the current mask for the UARTBEINTR interrupt. On a write of 1, the mask of the UARTBEINTR interrupt is set. A write of 0 clears the mask. 9 1 read-write CTSMIM nUARTCTS modem interrupt mask. A read returns the current mask for the UARTCTSINTR interrupt. On a write of 1, the mask of the UARTCTSINTR interrupt is set. A write of 0 clears the mask. 1 1 read-write DCDMIM nUARTDCD modem interrupt mask. A read returns the current mask for the UARTDCDINTR interrupt. On a write of 1, the mask of the UARTDCDINTR interrupt is set. A write of 0 clears the mask. 2 1 read-write DSRMIM nUARTDSR modem interrupt mask. A read returns the current mask for the UARTDSRINTR interrupt. On a write of 1, the mask of the UARTDSRINTR interrupt is set. A write of 0 clears the mask. 3 1 read-write FEIM Framing error interrupt mask. A read returns the current mask for the UARTFEINTR interrupt. On a write of 1, the mask of the UARTFEINTR interrupt is set. A write of 0 clears the mask. 7 1 read-write OEIM Overrun error interrupt mask. A read returns the current mask for the UARTOEINTR interrupt. On a write of 1, the mask of the UARTOEINTR interrupt is set. A write of 0 clears the mask. 10 1 read-write PEIM Parity error interrupt mask. A read returns the current mask for the UARTPEINTR interrupt. On a write of 1, the mask of the UARTPEINTR interrupt is set. A write of 0 clears the mask. 8 1 read-write RIMIM nUARTRI modem interrupt mask. A read returns the current mask for the UARTRIINTR interrupt. On a write of 1, the mask of the UARTRIINTR interrupt is set. A write of 0 clears the mask. 0 1 read-write RTIM Receive timeout interrupt mask. A read returns the current mask for the UARTRTINTR interrupt. On a write of 1, the mask of the UARTRTINTR interrupt is set. A write of 0 clears the mask. 6 1 read-write RXIM Receive interrupt mask. A read returns the current mask for the UARTRXINTR interrupt. On a write of 1, the mask of the UARTRXINTR interrupt is set. A write of 0 clears the mask. 4 1 read-write TXIM Transmit interrupt mask. A read returns the current mask for the UARTTXINTR interrupt. On a write of 1, the mask of the UARTTXINTR interrupt is set. A write of 0 clears the mask. 5 1 read-write UARTLCR_H Line Control Register, UARTLCR_H 0x2C 32 read-write n 0x0 0x0 BRK Send break. If this bit is set to 1, a low-level is continually output on the UARTTXD output, after completing transmission of the current character. For the proper execution of the break command, the software must set this bit for at least two complete frames. For normal use, this bit must be cleared to 0. 0 1 read-write EPS Even parity select. Controls the type of parity the UART uses during transmission and reception: 0 = odd parity. The UART generates or checks for an odd number of 1s in the data and parity bits. 1 = even parity. The UART generates or checks for an even number of 1s in the data and parity bits. This bit has no effect when the PEN bit disables parity checking and generation. 2 1 read-write FEN Enable FIFOs: 0 = FIFOs are disabled (character mode) that is, the FIFOs become 1-byte-deep holding registers 1 = transmit and receive FIFO buffers are enabled (FIFO mode). 4 1 read-write PEN Parity enable: 0 = parity is disabled and no parity bit added to the data frame 1 = parity checking and generation is enabled. 1 1 read-write SPS Stick parity select. 0 = stick parity is disabled 1 = either: * if the EPS bit is 0 then the parity bit is transmitted and checked as a 1 * if the EPS bit is 1 then the parity bit is transmitted and checked as a 0. This bit has no effect when the PEN bit disables parity checking and generation. 7 1 read-write STP2 Two stop bits select. If this bit is set to 1, two stop bits are transmitted at the end of the frame. The receive logic does not check for two stop bits being received. 3 1 read-write WLEN Word length. These bits indicate the number of data bits transmitted or received in a frame as follows: b11 = 8 bits b10 = 7 bits b01 = 6 bits b00 = 5 bits. 5 2 read-write UARTMIS Masked Interrupt Status Register, UARTMIS 0x40 32 read-write n 0x0 0x0 BEMIS Break error masked interrupt status. Returns the masked interrupt state of the UARTBEINTR interrupt. 9 1 read-only CTSMMIS nUARTCTS modem masked interrupt status. Returns the masked interrupt state of the UARTCTSINTR interrupt. 1 1 read-only DCDMMIS nUARTDCD modem masked interrupt status. Returns the masked interrupt state of the UARTDCDINTR interrupt. 2 1 read-only DSRMMIS nUARTDSR modem masked interrupt status. Returns the masked interrupt state of the UARTDSRINTR interrupt. 3 1 read-only FEMIS Framing error masked interrupt status. Returns the masked interrupt state of the UARTFEINTR interrupt. 7 1 read-only OEMIS Overrun error masked interrupt status. Returns the masked interrupt state of the UARTOEINTR interrupt. 10 1 read-only PEMIS Parity error masked interrupt status. Returns the masked interrupt state of the UARTPEINTR interrupt. 8 1 read-only RIMMIS nUARTRI modem masked interrupt status. Returns the masked interrupt state of the UARTRIINTR interrupt. 0 1 read-only RTMIS Receive timeout masked interrupt status. Returns the masked interrupt state of the UARTRTINTR interrupt. 6 1 read-only RXMIS Receive masked interrupt status. Returns the masked interrupt state of the UARTRXINTR interrupt. 4 1 read-only TXMIS Transmit masked interrupt status. Returns the masked interrupt state of the UARTTXINTR interrupt. 5 1 read-only UARTPCELLID0 UARTPCellID0 Register 0xFF0 32 read-write n 0xD 0x0 UARTPCELLID0 These bits read back as 0x0D 0 8 read-only UARTPCELLID1 UARTPCellID1 Register 0xFF4 32 read-write n 0xF0 0x0 UARTPCELLID1 These bits read back as 0xF0 0 8 read-only UARTPCELLID2 UARTPCellID2 Register 0xFF8 32 read-write n 0x5 0x0 UARTPCELLID2 These bits read back as 0x05 0 8 read-only UARTPCELLID3 UARTPCellID3 Register 0xFFC 32 read-write n 0xB1 0x0 UARTPCELLID3 These bits read back as 0xB1 0 8 read-only UARTPERIPHID0 UARTPeriphID0 Register 0xFE0 32 read-write n 0x11 0x0 PARTNUMBER0 These bits read back as 0x11 0 8 read-only UARTPERIPHID1 UARTPeriphID1 Register 0xFE4 32 read-write n 0x10 0x0 DESIGNER0 These bits read back as 0x1 4 4 read-only PARTNUMBER1 These bits read back as 0x0 0 4 read-only UARTPERIPHID2 UARTPeriphID2 Register 0xFE8 32 read-write n 0x34 0x0 DESIGNER1 These bits read back as 0x4 0 4 read-only REVISION This field depends on the revision of the UART: r1p0 0x0 r1p1 0x1 r1p3 0x2 r1p4 0x2 r1p5 0x3 4 4 read-only UARTPERIPHID3 UARTPeriphID3 Register 0xFEC 32 read-write n 0x0 0x0 CONFIGURATION These bits read back as 0x00 0 8 read-only UARTRIS Raw Interrupt Status Register, UARTRIS 0x3C 32 read-write n 0x0 0x0 BERIS Break error interrupt status. Returns the raw interrupt state of the UARTBEINTR interrupt. 9 1 read-only CTSRMIS nUARTCTS modem interrupt status. Returns the raw interrupt state of the UARTCTSINTR interrupt. 1 1 read-only DCDRMIS nUARTDCD modem interrupt status. Returns the raw interrupt state of the UARTDCDINTR interrupt. 2 1 read-only DSRRMIS nUARTDSR modem interrupt status. Returns the raw interrupt state of the UARTDSRINTR interrupt. 3 1 read-only FERIS Framing error interrupt status. Returns the raw interrupt state of the UARTFEINTR interrupt. 7 1 read-only OERIS Overrun error interrupt status. Returns the raw interrupt state of the UARTOEINTR interrupt. 10 1 read-only PERIS Parity error interrupt status. Returns the raw interrupt state of the UARTPEINTR interrupt. 8 1 read-only RIRMIS nUARTRI modem interrupt status. Returns the raw interrupt state of the UARTRIINTR interrupt. 0 1 read-only RTRIS Receive timeout interrupt status. Returns the raw interrupt state of the UARTRTINTR interrupt. a 6 1 read-only RXRIS Receive interrupt status. Returns the raw interrupt state of the UARTRXINTR interrupt. 4 1 read-only TXRIS Transmit interrupt status. Returns the raw interrupt state of the UARTTXINTR interrupt. 5 1 read-only UARTRSR Receive Status Register/Error Clear Register, UARTRSR/UARTECR 0x4 32 read-write n 0x0 0x0 BE Break error. This bit is set to 1 if a break condition was detected, indicating that the received data input was held LOW for longer than a full-word transmission time (defined as start, data, parity, and stop bits). This bit is cleared to 0 after a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO. When a break occurs, only one 0 character is loaded into the FIFO. The next character is only enabled after the receive data input goes to a 1 (marking state) and the next valid start bit is received. 2 1 read-write oneToClear FE Framing error. When set to 1, it indicates that the received character did not have a valid stop bit (a valid stop bit is 1). This bit is cleared to 0 by a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO. 0 1 read-write oneToClear OE Overrun error. This bit is set to 1 if data is received and the FIFO is already full. This bit is cleared to 0 by a write to UARTECR. The FIFO contents remain valid because no more data is written when the FIFO is full, only the contents of the shift register are overwritten. The CPU must now read the data, to empty the FIFO. 3 1 read-write oneToClear PE Parity error. When set to 1, it indicates that the parity of the received data character does not match the parity that the EPS and SPS bits in the Line Control Register, UARTLCR_H. This bit is cleared to 0 by a write to UARTECR. In FIFO mode, this error is associated with the character at the top of the FIFO. 1 1 read-write oneToClear USBCTRL_DPRAM DPRAM layout for USB device. USBCTRL_DPRAM 0x50100000 0x0 0x100 registers n EP0_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0x80 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP0_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0x84 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP10_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xD0 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP10_IN_CONTROL 0x50 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP10_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xD4 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP10_OUT_CONTROL 0x54 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP11_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xD8 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP11_IN_CONTROL 0x58 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP11_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xDC 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP11_OUT_CONTROL 0x5C 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP12_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xE0 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP12_IN_CONTROL 0x60 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP12_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xE4 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP12_OUT_CONTROL 0x64 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP13_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xE8 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP13_IN_CONTROL 0x68 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP13_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xEC 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP13_OUT_CONTROL 0x6C 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP14_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xF0 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP14_IN_CONTROL 0x70 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP14_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xF4 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP14_OUT_CONTROL 0x74 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP15_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xF8 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP15_IN_CONTROL 0x78 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP15_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xFC 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP15_OUT_CONTROL 0x7C 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP1_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0x88 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP1_IN_CONTROL 0x8 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP1_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0x8C 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP1_OUT_CONTROL 0xC 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP2_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0x90 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP2_IN_CONTROL 0x10 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP2_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0x94 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP2_OUT_CONTROL 0x14 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP3_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0x98 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP3_IN_CONTROL 0x18 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP3_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0x9C 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP3_OUT_CONTROL 0x1C 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP4_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xA0 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP4_IN_CONTROL 0x20 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP4_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xA4 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP4_OUT_CONTROL 0x24 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP5_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xA8 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP5_IN_CONTROL 0x28 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP5_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xAC 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP5_OUT_CONTROL 0x2C 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP6_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xB0 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP6_IN_CONTROL 0x30 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP6_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xB4 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP6_OUT_CONTROL 0x34 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP7_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xB8 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP7_IN_CONTROL 0x38 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP7_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xBC 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP7_OUT_CONTROL 0x3C 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP8_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xC0 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP8_IN_CONTROL 0x40 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP8_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xC4 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP8_OUT_CONTROL 0x44 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP9_IN_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xC8 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP9_IN_CONTROL 0x48 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write EP9_OUT_BUFFER_CONTROL Buffer control for both buffers of an endpoint. Fields ending in a _1 are for buffer 1. Fields ending in a _0 are for buffer 0. Buffer 1 controls are only valid if the endpoint is in double buffered mode. 0xCC 32 n 0x0 AVAILABLE_0 Buffer 0 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 10 1 read-write AVAILABLE_1 Buffer 1 is available. This bit is set to indicate the buffer can be used by the controller. The controller clears the available bit when writing the status back. 26 1 read-write DOUBLE_BUFFER_ISO_OFFSET The number of bytes buffer 1 is offset from buffer 0 in Isochronous mode. Only valid in double buffered mode for an Isochronous endpoint. For a non Isochronous endpoint the offset is always 64 bytes. 27 2 read-write 128 0 256 1 512 2 1024 3 FULL_0 Buffer 0 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 15 1 read-write FULL_1 Buffer 1 is full. For an IN transfer (TX to the host) the bit is set to indicate the data is valid. For an OUT transfer (RX from the host) this bit should be left as a 0. The host will set it when it has filled the buffer with data. 31 1 read-write LAST_0 Buffer 0 is the last buffer of the transfer. 14 1 read-write LAST_1 Buffer 1 is the last buffer of the transfer. 30 1 read-write LENGTH_0 The length of the data in buffer 0. 0 10 read-write LENGTH_1 The length of the data in buffer 1. 16 10 read-write PID_0 The data pid of buffer 0. 13 1 read-write PID_1 The data pid of buffer 1. 29 1 read-write RESET Reset the buffer selector to buffer 0. 12 1 read-write STALL Reply with a stall (valid for both buffers). 11 1 read-write EP9_OUT_CONTROL 0x4C 32 n 0x0 BUFFER_ADDRESS 64 byte aligned buffer address for this EP (bits 0-5 are ignored). Relative to the start of the DPRAM. 0 16 read-write DOUBLE_BUFFERED This endpoint is double buffered. 30 1 read-write ENABLE Enable this endpoint. The device will not reply to any packets for this endpoint if this bit is not set. 31 1 read-write ENDPOINT_TYPE 26 2 read-write Control 0 Isochronous 1 Bulk 2 Interrupt 3 INTERRUPT_ON_NAK Trigger an interrupt if a NAK is sent. Intended for debug only. 16 1 read-write INTERRUPT_ON_STALL Trigger an interrupt if a STALL is sent. Intended for debug only. 17 1 read-write INTERRUPT_PER_BUFF Trigger an interrupt each time a buffer is done. 29 1 read-write INTERRUPT_PER_DOUBLE_BUFF Trigger an interrupt each time both buffers are done. Only valid in double buffered mode. 28 1 read-write SETUP_PACKET_HIGH Bytes 4-7 of the setup packet from the host. 0x4 32 n 0x0 WINDEX 0 16 read-write WLENGTH 16 16 read-write SETUP_PACKET_LOW Bytes 0-3 of the SETUP packet from the host. 0x0 32 n 0x0 BMREQUESTTYPE 0 8 read-write BREQUEST 8 8 read-write WVALUE 16 16 read-write USBCTRL_REGS USB FS/LS controller device registers USBCTRL_REGS 0x50110000 0x0 0x1000 registers n USBCTRL_IRQ 5 ADDR_ENDP Device address and endpoint control 0x0 32 read-write n 0x0 0x0 ADDRESS In device mode, the address that the device should respond to. Set in response to a SET_ADDR setup packet from the host. In host mode set to the address of the device to communicate with. 0 7 read-write ENDPOINT Device endpoint to send data to. Only valid for HOST mode. 16 4 read-write ADDR_ENDP1 Interrupt endpoint 1. Only valid for HOST mode. 0x4 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP10 Interrupt endpoint 10. Only valid for HOST mode. 0x28 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP11 Interrupt endpoint 11. Only valid for HOST mode. 0x2C 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP12 Interrupt endpoint 12. Only valid for HOST mode. 0x30 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP13 Interrupt endpoint 13. Only valid for HOST mode. 0x34 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP14 Interrupt endpoint 14. Only valid for HOST mode. 0x38 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP15 Interrupt endpoint 15. Only valid for HOST mode. 0x3C 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP2 Interrupt endpoint 2. Only valid for HOST mode. 0x8 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP3 Interrupt endpoint 3. Only valid for HOST mode. 0xC 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP4 Interrupt endpoint 4. Only valid for HOST mode. 0x10 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP5 Interrupt endpoint 5. Only valid for HOST mode. 0x14 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP6 Interrupt endpoint 6. Only valid for HOST mode. 0x18 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP7 Interrupt endpoint 7. Only valid for HOST mode. 0x1C 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP8 Interrupt endpoint 8. Only valid for HOST mode. 0x20 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write ADDR_ENDP9 Interrupt endpoint 9. Only valid for HOST mode. 0x24 32 read-write n 0x0 0x0 ADDRESS Device address 0 7 read-write ENDPOINT Endpoint number of the interrupt endpoint 16 4 read-write INTEP_DIR Direction of the interrupt endpoint. In=0, Out=1 25 1 read-write INTEP_PREAMBLE Interrupt EP requires preamble (is a low speed device on a full speed hub) 26 1 read-write BUFF_CPU_SHOULD_HANDLE Which of the double buffers should be handled. Only valid if using an interrupt per buffer (i.e. not per 2 buffers). Not valid for host interrupt endpoint polling because they are only single buffered. 0x5C 32 read-write n 0x0 0x0 EP0_IN 0 1 read-only EP0_OUT 1 1 read-only EP10_IN 20 1 read-only EP10_OUT 21 1 read-only EP11_IN 22 1 read-only EP11_OUT 23 1 read-only EP12_IN 24 1 read-only EP12_OUT 25 1 read-only EP13_IN 26 1 read-only EP13_OUT 27 1 read-only EP14_IN 28 1 read-only EP14_OUT 29 1 read-only EP15_IN 30 1 read-only EP15_OUT 31 1 read-only EP1_IN 2 1 read-only EP1_OUT 3 1 read-only EP2_IN 4 1 read-only EP2_OUT 5 1 read-only EP3_IN 6 1 read-only EP3_OUT 7 1 read-only EP4_IN 8 1 read-only EP4_OUT 9 1 read-only EP5_IN 10 1 read-only EP5_OUT 11 1 read-only EP6_IN 12 1 read-only EP6_OUT 13 1 read-only EP7_IN 14 1 read-only EP7_OUT 15 1 read-only EP8_IN 16 1 read-only EP8_OUT 17 1 read-only EP9_IN 18 1 read-only EP9_OUT 19 1 read-only BUFF_STATUS Buffer status register. A bit set here indicates that a buffer has completed on the endpoint (if the buffer interrupt is enabled). It is possible for 2 buffers to be completed, so clearing the buffer status bit may instantly re set it on the next clock cycle. 0x58 32 read-write n 0x0 0x0 EP0_IN 0 1 read-write oneToClear EP0_OUT 1 1 read-write oneToClear EP10_IN 20 1 read-write oneToClear EP10_OUT 21 1 read-write oneToClear EP11_IN 22 1 read-write oneToClear EP11_OUT 23 1 read-write oneToClear EP12_IN 24 1 read-write oneToClear EP12_OUT 25 1 read-write oneToClear EP13_IN 26 1 read-write oneToClear EP13_OUT 27 1 read-write oneToClear EP14_IN 28 1 read-write oneToClear EP14_OUT 29 1 read-write oneToClear EP15_IN 30 1 read-write oneToClear EP15_OUT 31 1 read-write oneToClear EP1_IN 2 1 read-write oneToClear EP1_OUT 3 1 read-write oneToClear EP2_IN 4 1 read-write oneToClear EP2_OUT 5 1 read-write oneToClear EP3_IN 6 1 read-write oneToClear EP3_OUT 7 1 read-write oneToClear EP4_IN 8 1 read-write oneToClear EP4_OUT 9 1 read-write oneToClear EP5_IN 10 1 read-write oneToClear EP5_OUT 11 1 read-write oneToClear EP6_IN 12 1 read-write oneToClear EP6_OUT 13 1 read-write oneToClear EP7_IN 14 1 read-write oneToClear EP7_OUT 15 1 read-write oneToClear EP8_IN 16 1 read-write oneToClear EP8_OUT 17 1 read-write oneToClear EP9_IN 18 1 read-write oneToClear EP9_OUT 19 1 read-write oneToClear EP_ABORT Device only: Can be set to ignore the buffer control register for this endpoint in case you would like to revoke a buffer. A NAK will be sent for every access to the endpoint until this bit is cleared. A corresponding bit in `EP_ABORT_DONE` is set when it is safe to modify the buffer control register. 0x60 32 read-write n 0x0 0x0 EP0_IN 0 1 read-write EP0_OUT 1 1 read-write EP10_IN 20 1 read-write EP10_OUT 21 1 read-write EP11_IN 22 1 read-write EP11_OUT 23 1 read-write EP12_IN 24 1 read-write EP12_OUT 25 1 read-write EP13_IN 26 1 read-write EP13_OUT 27 1 read-write EP14_IN 28 1 read-write EP14_OUT 29 1 read-write EP15_IN 30 1 read-write EP15_OUT 31 1 read-write EP1_IN 2 1 read-write EP1_OUT 3 1 read-write EP2_IN 4 1 read-write EP2_OUT 5 1 read-write EP3_IN 6 1 read-write EP3_OUT 7 1 read-write EP4_IN 8 1 read-write EP4_OUT 9 1 read-write EP5_IN 10 1 read-write EP5_OUT 11 1 read-write EP6_IN 12 1 read-write EP6_OUT 13 1 read-write EP7_IN 14 1 read-write EP7_OUT 15 1 read-write EP8_IN 16 1 read-write EP8_OUT 17 1 read-write EP9_IN 18 1 read-write EP9_OUT 19 1 read-write EP_ABORT_DONE Device only: Used in conjunction with `EP_ABORT`. Set once an endpoint is idle so the programmer knows it is safe to modify the buffer control register. 0x64 32 read-write n 0x0 0x0 EP0_IN 0 1 read-write oneToClear EP0_OUT 1 1 read-write oneToClear EP10_IN 20 1 read-write oneToClear EP10_OUT 21 1 read-write oneToClear EP11_IN 22 1 read-write oneToClear EP11_OUT 23 1 read-write oneToClear EP12_IN 24 1 read-write oneToClear EP12_OUT 25 1 read-write oneToClear EP13_IN 26 1 read-write oneToClear EP13_OUT 27 1 read-write oneToClear EP14_IN 28 1 read-write oneToClear EP14_OUT 29 1 read-write oneToClear EP15_IN 30 1 read-write oneToClear EP15_OUT 31 1 read-write oneToClear EP1_IN 2 1 read-write oneToClear EP1_OUT 3 1 read-write oneToClear EP2_IN 4 1 read-write oneToClear EP2_OUT 5 1 read-write oneToClear EP3_IN 6 1 read-write oneToClear EP3_OUT 7 1 read-write oneToClear EP4_IN 8 1 read-write oneToClear EP4_OUT 9 1 read-write oneToClear EP5_IN 10 1 read-write oneToClear EP5_OUT 11 1 read-write oneToClear EP6_IN 12 1 read-write oneToClear EP6_OUT 13 1 read-write oneToClear EP7_IN 14 1 read-write oneToClear EP7_OUT 15 1 read-write oneToClear EP8_IN 16 1 read-write oneToClear EP8_OUT 17 1 read-write oneToClear EP9_IN 18 1 read-write oneToClear EP9_OUT 19 1 read-write oneToClear EP_STALL_ARM Device: this bit must be set in conjunction with the `STALL` bit in the buffer control register to send a STALL on EP0. The device controller clears these bits when a SETUP packet is received because the USB spec requires that a STALL condition is cleared when a SETUP packet is received. 0x68 32 read-write n 0x0 0x0 EP0_IN 0 1 read-write EP0_OUT 1 1 read-write EP_STATUS_STALL_NAK Device: bits are set when the `IRQ_ON_NAK` or `IRQ_ON_STALL` bits are set. For EP0 this comes from `SIE_CTRL`. For all other endpoints it comes from the endpoint control register. 0x70 32 read-write n 0x0 0x0 EP0_IN 0 1 read-write oneToClear EP0_OUT 1 1 read-write oneToClear EP10_IN 20 1 read-write oneToClear EP10_OUT 21 1 read-write oneToClear EP11_IN 22 1 read-write oneToClear EP11_OUT 23 1 read-write oneToClear EP12_IN 24 1 read-write oneToClear EP12_OUT 25 1 read-write oneToClear EP13_IN 26 1 read-write oneToClear EP13_OUT 27 1 read-write oneToClear EP14_IN 28 1 read-write oneToClear EP14_OUT 29 1 read-write oneToClear EP15_IN 30 1 read-write oneToClear EP15_OUT 31 1 read-write oneToClear EP1_IN 2 1 read-write oneToClear EP1_OUT 3 1 read-write oneToClear EP2_IN 4 1 read-write oneToClear EP2_OUT 5 1 read-write oneToClear EP3_IN 6 1 read-write oneToClear EP3_OUT 7 1 read-write oneToClear EP4_IN 8 1 read-write oneToClear EP4_OUT 9 1 read-write oneToClear EP5_IN 10 1 read-write oneToClear EP5_OUT 11 1 read-write oneToClear EP6_IN 12 1 read-write oneToClear EP6_OUT 13 1 read-write oneToClear EP7_IN 14 1 read-write oneToClear EP7_OUT 15 1 read-write oneToClear EP8_IN 16 1 read-write oneToClear EP8_OUT 17 1 read-write oneToClear EP9_IN 18 1 read-write oneToClear EP9_OUT 19 1 read-write oneToClear INTE Interrupt Enable 0x90 32 read-write n 0x0 0x0 ABORT_DONE Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE. 18 1 read-write BUFF_STATUS Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS. 4 1 read-write BUS_RESET Source: SIE_STATUS.BUS_RESET 12 1 read-write DEV_CONN_DIS Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED 13 1 read-write DEV_RESUME_FROM_HOST Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME 15 1 read-write DEV_SOF Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD 17 1 read-write DEV_SUSPEND Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED 14 1 read-write EP_STALL_NAK Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK. 19 1 read-write ERROR_BIT_STUFF Source: SIE_STATUS.BIT_STUFF_ERROR 8 1 read-write ERROR_CRC Source: SIE_STATUS.CRC_ERROR 9 1 read-write ERROR_DATA_SEQ Source: SIE_STATUS.DATA_SEQ_ERROR 5 1 read-write ERROR_RX_OVERFLOW Source: SIE_STATUS.RX_OVERFLOW 7 1 read-write ERROR_RX_TIMEOUT Source: SIE_STATUS.RX_TIMEOUT 6 1 read-write HOST_CONN_DIS Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED 0 1 read-write HOST_RESUME Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME 1 1 read-write HOST_SOF Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD 2 1 read-write SETUP_REQ Device. Source: SIE_STATUS.SETUP_REC 16 1 read-write STALL Source: SIE_STATUS.STALL_REC 10 1 read-write TRANS_COMPLETE Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit. 3 1 read-write VBUS_DETECT Source: SIE_STATUS.VBUS_DETECTED 11 1 read-write INTF Interrupt Force 0x94 32 read-write n 0x0 0x0 ABORT_DONE Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE. 18 1 read-write BUFF_STATUS Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS. 4 1 read-write BUS_RESET Source: SIE_STATUS.BUS_RESET 12 1 read-write DEV_CONN_DIS Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED 13 1 read-write DEV_RESUME_FROM_HOST Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME 15 1 read-write DEV_SOF Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD 17 1 read-write DEV_SUSPEND Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED 14 1 read-write EP_STALL_NAK Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK. 19 1 read-write ERROR_BIT_STUFF Source: SIE_STATUS.BIT_STUFF_ERROR 8 1 read-write ERROR_CRC Source: SIE_STATUS.CRC_ERROR 9 1 read-write ERROR_DATA_SEQ Source: SIE_STATUS.DATA_SEQ_ERROR 5 1 read-write ERROR_RX_OVERFLOW Source: SIE_STATUS.RX_OVERFLOW 7 1 read-write ERROR_RX_TIMEOUT Source: SIE_STATUS.RX_TIMEOUT 6 1 read-write HOST_CONN_DIS Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED 0 1 read-write HOST_RESUME Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME 1 1 read-write HOST_SOF Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD 2 1 read-write SETUP_REQ Device. Source: SIE_STATUS.SETUP_REC 16 1 read-write STALL Source: SIE_STATUS.STALL_REC 10 1 read-write TRANS_COMPLETE Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit. 3 1 read-write VBUS_DETECT Source: SIE_STATUS.VBUS_DETECTED 11 1 read-write INTR Raw Interrupts 0x8C 32 read-write n 0x0 0x0 ABORT_DONE Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE. 18 1 read-only BUFF_STATUS Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS. 4 1 read-only BUS_RESET Source: SIE_STATUS.BUS_RESET 12 1 read-only DEV_CONN_DIS Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED 13 1 read-only DEV_RESUME_FROM_HOST Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME 15 1 read-only DEV_SOF Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD 17 1 read-only DEV_SUSPEND Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED 14 1 read-only EP_STALL_NAK Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK. 19 1 read-only ERROR_BIT_STUFF Source: SIE_STATUS.BIT_STUFF_ERROR 8 1 read-only ERROR_CRC Source: SIE_STATUS.CRC_ERROR 9 1 read-only ERROR_DATA_SEQ Source: SIE_STATUS.DATA_SEQ_ERROR 5 1 read-only ERROR_RX_OVERFLOW Source: SIE_STATUS.RX_OVERFLOW 7 1 read-only ERROR_RX_TIMEOUT Source: SIE_STATUS.RX_TIMEOUT 6 1 read-only HOST_CONN_DIS Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED 0 1 read-only HOST_RESUME Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME 1 1 read-only HOST_SOF Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD 2 1 read-only SETUP_REQ Device. Source: SIE_STATUS.SETUP_REC 16 1 read-only STALL Source: SIE_STATUS.STALL_REC 10 1 read-only TRANS_COMPLETE Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit. 3 1 read-only VBUS_DETECT Source: SIE_STATUS.VBUS_DETECTED 11 1 read-only INTS Interrupt status after masking & forcing 0x98 32 read-write n 0x0 0x0 ABORT_DONE Raised when any bit in ABORT_DONE is set. Clear by clearing all bits in ABORT_DONE. 18 1 read-only BUFF_STATUS Raised when any bit in BUFF_STATUS is set. Clear by clearing all bits in BUFF_STATUS. 4 1 read-only BUS_RESET Source: SIE_STATUS.BUS_RESET 12 1 read-only DEV_CONN_DIS Set when the device connection state changes. Cleared by writing to SIE_STATUS.CONNECTED 13 1 read-only DEV_RESUME_FROM_HOST Set when the device receives a resume from the host. Cleared by writing to SIE_STATUS.RESUME 15 1 read-only DEV_SOF Set every time the device receives a SOF (Start of Frame) packet. Cleared by reading SOF_RD 17 1 read-only DEV_SUSPEND Set when the device suspend state changes. Cleared by writing to SIE_STATUS.SUSPENDED 14 1 read-only EP_STALL_NAK Raised when any bit in EP_STATUS_STALL_NAK is set. Clear by clearing all bits in EP_STATUS_STALL_NAK. 19 1 read-only ERROR_BIT_STUFF Source: SIE_STATUS.BIT_STUFF_ERROR 8 1 read-only ERROR_CRC Source: SIE_STATUS.CRC_ERROR 9 1 read-only ERROR_DATA_SEQ Source: SIE_STATUS.DATA_SEQ_ERROR 5 1 read-only ERROR_RX_OVERFLOW Source: SIE_STATUS.RX_OVERFLOW 7 1 read-only ERROR_RX_TIMEOUT Source: SIE_STATUS.RX_TIMEOUT 6 1 read-only HOST_CONN_DIS Host: raised when a device is connected or disconnected (i.e. when SIE_STATUS.SPEED changes). Cleared by writing to SIE_STATUS.SPEED 0 1 read-only HOST_RESUME Host: raised when a device wakes up the host. Cleared by writing to SIE_STATUS.RESUME 1 1 read-only HOST_SOF Host: raised every time the host sends a SOF (Start of Frame). Cleared by reading SOF_RD 2 1 read-only SETUP_REQ Device. Source: SIE_STATUS.SETUP_REC 16 1 read-only STALL Source: SIE_STATUS.STALL_REC 10 1 read-only TRANS_COMPLETE Raised every time SIE_STATUS.TRANS_COMPLETE is set. Clear by writing to this bit. 3 1 read-only VBUS_DETECT Source: SIE_STATUS.VBUS_DETECTED 11 1 read-only INT_EP_CTRL interrupt endpoint control register 0x54 32 read-write n 0x0 0x0 INT_EP_ACTIVE Host: Enable interrupt endpoint 1 -> 15 1 15 read-write MAIN_CTRL Main control register 0x40 32 read-write n 0x0 0x0 CONTROLLER_EN Enable controller 0 1 read-write HOST_NDEVICE Device mode = 0, Host mode = 1 1 1 read-write SIM_TIMING Reduced timings for simulation 31 1 read-write NAK_POLL Used by the host controller. Sets the wait time in microseconds before trying again if the device replies with a NAK. 0x6C 32 read-write n 0x100010 0x0 DELAY_FS NAK polling interval for a full speed device 16 10 read-write DELAY_LS NAK polling interval for a low speed device 0 10 read-write SIE_CTRL SIE control register 0x4C 32 read-write n 0x0 0x0 DIRECT_DM Direct control of DM 24 1 read-write DIRECT_DP Direct control of DP 25 1 read-write DIRECT_EN Direct bus drive enable 26 1 read-write EP0_DOUBLE_BUF Device: EP0 single buffered = 0, double buffered = 1 30 1 read-write EP0_INT_1BUF Device: Set bit in BUFF_STATUS for every buffer completed on EP0 29 1 read-write EP0_INT_2BUF Device: Set bit in BUFF_STATUS for every 2 buffers completed on EP0 28 1 read-write EP0_INT_NAK Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a NAK 27 1 read-write EP0_INT_STALL Device: Set bit in EP_STATUS_STALL_NAK when EP0 sends a STALL 31 1 read-write KEEP_ALIVE_EN Host: Enable keep alive packet (for low speed bus) 10 1 read-write PREAMBLE_EN Host: Preable enable for LS device on FS hub 6 1 read-write PULLDOWN_EN Host: Enable pull down resistors 15 1 read-write PULLUP_EN Device: Enable pull up resistor 16 1 read-write RECEIVE_DATA Host: Receive transaction (IN to host) 3 1 read-write RESET_BUS Host: Reset bus 13 1 read-write clear RESUME Device: Remote wakeup. Device can initiate its own resume after suspend. 12 1 read-write clear RPU_OPT Device: Pull-up strength (0=1K2, 1=2k3) 17 1 read-write SEND_DATA Host: Send transaction (OUT from host) 2 1 read-write SEND_SETUP Host: Send Setup packet 1 1 read-write SOF_EN Host: Enable SOF generation (for full speed bus) 9 1 read-write SOF_SYNC Host: Delay packet(s) until after SOF 8 1 read-write START_TRANS Host: Start transaction 0 1 read-write clear STOP_TRANS Host: Stop transaction 4 1 read-write clear TRANSCEIVER_PD Power down bus transceiver 18 1 read-write VBUS_EN Host: Enable VBUS 11 1 read-write SIE_STATUS SIE status register 0x50 32 read-write n 0x0 0x0 ACK_REC ACK received. Raised by both host and device. 30 1 read-write oneToClear BIT_STUFF_ERROR Bit Stuff Error. Raised by the Serial RX engine. 25 1 read-write oneToClear BUS_RESET Device: bus reset received 19 1 read-write oneToClear CONNECTED Device: connected 16 1 read-write oneToClear CRC_ERROR CRC Error. Raised by the Serial RX engine. 24 1 read-write oneToClear DATA_SEQ_ERROR Data Sequence Error. The device can raise a sequence error in the following conditions: * A SETUP packet is received followed by a DATA1 packet (data phase should always be DATA0) * An OUT packet is received from the host but doesn't match the data pid in the buffer control register read from DPSRAM The host can raise a data sequence error in the following conditions: * An IN packet from the device has the wrong data PID 31 1 read-write oneToClear LINE_STATE USB bus line state 2 2 read-only NAK_REC Host: NAK received 28 1 read-write oneToClear RESUME Host: Device has initiated a remote resume. Device: host has initiated a resume. 11 1 read-write oneToClear RX_OVERFLOW RX overflow is raised by the Serial RX engine if the incoming data is too fast. 26 1 read-write oneToClear RX_TIMEOUT RX timeout is raised by both the host and device if an ACK is not received in the maximum time specified by the USB spec. 27 1 read-write oneToClear SETUP_REC Device: Setup packet received 17 1 read-write oneToClear SPEED Host: device speed. Disconnected = 00, LS = 01, FS = 10 8 2 read-write oneToClear STALL_REC Host: STALL received 29 1 read-write oneToClear SUSPENDED Bus in suspended state. Valid for device and host. Host and device will go into suspend if neither Keep Alive / SOF frames are enabled. 4 1 read-write oneToClear TRANS_COMPLETE Transaction complete. Raised by device if: * An IN or OUT packet is sent with the `LAST_BUFF` bit set in the buffer control register Raised by host if: * A setup packet is sent when no data in or data out transaction follows * An IN packet is received and the `LAST_BUFF` bit is set in the buffer control register * An IN packet is received with zero length * An OUT packet is sent and the `LAST_BUFF` bit is set 18 1 read-write oneToClear VBUS_DETECTED Device: VBUS Detected 0 1 read-only VBUS_OVER_CURR VBUS over current detected 10 1 read-only SOF_RD Read the last SOF (Start of Frame) frame number seen. In device mode the last SOF received from the host. In host mode the last SOF sent by the host. 0x48 32 read-write n 0x0 0x0 COUNT 0 11 read-only SOF_WR Set the SOF (Start of Frame) frame number in the host controller. The SOF packet is sent every 1ms and the host will increment the frame number by 1 each time. 0x44 32 read-write n 0x0 0x0 COUNT 0 11 write-only USBPHY_DIRECT This register allows for direct control of the USB phy. Use in conjunction with usbphy_direct_override register to enable each override bit. 0x7C 32 read-write n 0x0 0x0 DM_OVCN DM overcurrent 20 1 read-only DM_OVV DM over voltage 22 1 read-only DM_PULLDN_EN DM pull down enable 6 1 read-write DM_PULLUP_EN DM pull up enable 5 1 read-write DM_PULLUP_HISEL Enable the second DM pull up resistor. 0 - Pull = Rpu2 1 - Pull = Rpu1 + Rpu2 4 1 read-write DP_OVCN DP overcurrent 19 1 read-only DP_OVV DP over voltage 21 1 read-only DP_PULLDN_EN DP pull down enable 2 1 read-write DP_PULLUP_EN DP pull up enable 1 1 read-write DP_PULLUP_HISEL Enable the second DP pull up resistor. 0 - Pull = Rpu2 1 - Pull = Rpu1 + Rpu2 0 1 read-write RX_DD Differential RX 16 1 read-only RX_DM DPM pin state 18 1 read-only RX_DP DPP pin state 17 1 read-only RX_PD RX power down override (if override enable is set). 1 = powered down. 12 1 read-write TX_DIFFMODE TX_DIFFMODE=0: Single ended mode TX_DIFFMODE=1: Differential drive mode (TX_DM, TX_DM_OE ignored) 15 1 read-write TX_DM Output data. TX_DIFFMODE=1, Ignored TX_DIFFMODE=0, Drives DPM only. TX_DM_OE=1 to enable drive. DPM=TX_DM 11 1 read-write TX_DM_OE Output enable. If TX_DIFFMODE=1, Ignored. If TX_DIFFMODE=0, OE for DPM only. 0 - DPM in Hi-Z state 1 - DPM driving 9 1 read-write TX_DP Output data. If TX_DIFFMODE=1, Drives DPP/DPM diff pair. TX_DP_OE=1 to enable drive. DPP=TX_DP, DPM=~TX_DP If TX_DIFFMODE=0, Drives DPP only. TX_DP_OE=1 to enable drive. DPP=TX_DP 10 1 read-write TX_DP_OE Output enable. If TX_DIFFMODE=1, OE for DPP/DPM diff pair. 0 - DPP/DPM in Hi-Z state 1 - DPP/DPM driving If TX_DIFFMODE=0, OE for DPP only. 0 - DPP in Hi-Z state 1 - DPP driving 8 1 read-write TX_FSSLEW TX_FSSLEW=0: Low speed slew rate TX_FSSLEW=1: Full speed slew rate 14 1 read-write TX_PD TX power down override (if override enable is set). 1 = powered down. 13 1 read-write USBPHY_DIRECT_OVERRIDE Override enable for each control in usbphy_direct 0x80 32 read-write n 0x0 0x0 DM_PULLDN_EN_OVERRIDE_EN 4 1 read-write DM_PULLUP_HISEL_OVERRIDE_EN 1 1 read-write DM_PULLUP_OVERRIDE_EN 12 1 read-write DP_PULLDN_EN_OVERRIDE_EN 3 1 read-write DP_PULLUP_EN_OVERRIDE_EN 2 1 read-write DP_PULLUP_HISEL_OVERRIDE_EN 0 1 read-write RX_PD_OVERRIDE_EN 9 1 read-write TX_DIFFMODE_OVERRIDE_EN 15 1 read-write TX_DM_OE_OVERRIDE_EN 6 1 read-write TX_DM_OVERRIDE_EN 8 1 read-write TX_DP_OE_OVERRIDE_EN 5 1 read-write TX_DP_OVERRIDE_EN 7 1 read-write TX_FSSLEW_OVERRIDE_EN 11 1 read-write TX_PD_OVERRIDE_EN 10 1 read-write USBPHY_TRIM Used to adjust trim values of USB phy pull down resistors. 0x84 32 read-write n 0x1F1F 0x0 DM_PULLDN_TRIM Value to drive to USB PHY DM pulldown resistor trim control Experimental data suggests that the reset value will work, but this register allows adjustment if required 8 5 read-write DP_PULLDN_TRIM Value to drive to USB PHY DP pulldown resistor trim control Experimental data suggests that the reset value will work, but this register allows adjustment if required 0 5 read-write USB_MUXING Where to connect the USB controller. Should be to_phy by default. 0x74 32 read-write n 0x0 0x0 SOFTCON 3 1 read-write TO_DIGITAL_PAD 2 1 read-write TO_EXTPHY 1 1 read-write TO_PHY 0 1 read-write USB_PWR Overrides for the power signals in the event that the VBUS signals are not hooked up to GPIO. Set the value of the override and then the override enable to switch over to the override value. 0x78 32 read-write n 0x0 0x0 OVERCURR_DETECT 4 1 read-write OVERCURR_DETECT_EN 5 1 read-write VBUS_DETECT 2 1 read-write VBUS_DETECT_OVERRIDE_EN 3 1 read-write VBUS_EN 0 1 read-write VBUS_EN_OVERRIDE_EN 1 1 read-write VREG_AND_CHIP_RESET control and status for on-chip voltage regulator and chip level reset subsystem VREG_AND_CHIP_RESET 0x40064000 0x0 0x1000 registers n BOD brown-out detection control 0x4 32 read-write n 0x91 0x0 EN enable 0=not enabled, 1=enabled 0 1 read-write VSEL threshold select 0000 - 0.473V 0001 - 0.516V 0010 - 0.559V 0011 - 0.602V 0100 - 0.645V 0101 - 0.688V 0110 - 0.731V 0111 - 0.774V 1000 - 0.817V 1001 - 0.860V (default) 1010 - 0.903V 1011 - 0.946V 1100 - 0.989V 1101 - 1.032V 1110 - 1.075V 1111 - 1.118V 4 4 read-write CHIP_RESET Chip reset control and status 0x8 32 read-write n 0x0 0x0 HAD_POR Last reset was from the power-on reset or brown-out detection blocks 8 1 read-only HAD_PSM_RESTART Last reset was from the debug port 20 1 read-only HAD_RUN Last reset was from the RUN pin 16 1 read-only PSM_RESTART_FLAG This is set by psm_restart from the debugger. Its purpose is to branch bootcode to a safe mode when the debugger has issued a psm_restart in order to recover from a boot lock-up. In the safe mode the debugger can repair the boot code, clear this flag then reboot the processor. 24 1 read-write oneToClear VREG Voltage regulator control and status 0x0 32 read-write n 0xB1 0x0 EN enable 0=not enabled, 1=enabled 0 1 read-write HIZ high impedance mode select 0=not in high impedance mode, 1=in high impedance mode 1 1 read-write ROK regulation status 0=not in regulation, 1=in regulation 12 1 read-only VSEL output voltage select 0000 to 0101 - 0.80V 0110 - 0.85V 0111 - 0.90V 1000 - 0.95V 1001 - 1.00V 1010 - 1.05V 1011 - 1.10V (default) 1100 - 1.15V 1101 - 1.20V 1110 - 1.25V 1111 - 1.30V 4 4 read-write WATCHDOG WATCHDOG 0x40058000 0x0 0x1000 registers n CTRL Watchdog control The rst_wdsel register determines which subsystems are reset when the watchdog is triggered. The watchdog can be triggered in software. 0x0 32 read-write n 0x7000000 0x0 ENABLE When not enabled the watchdog timer is paused 30 1 read-write PAUSE_DBG0 Pause the watchdog timer when processor 0 is in debug mode 25 1 read-write PAUSE_DBG1 Pause the watchdog timer when processor 1 is in debug mode 26 1 read-write PAUSE_JTAG Pause the watchdog timer when JTAG is accessing the bus fabric 24 1 read-write TIME Indicates the number of ticks / 2 (see errata RP2040-E1) before a watchdog reset will be triggered 0 24 read-only TRIGGER Trigger a watchdog reset 31 1 read-write clear LOAD Load the watchdog timer. The maximum setting is 0xffffff which corresponds to 0xffffff / 2 ticks before triggering a watchdog reset (see errata RP2040-E1). 0x4 32 read-write n 0x0 0x0 LOAD 0 24 write-only REASON Logs the reason for the last reset. Both bits are zero for the case of a hardware reset. 0x8 32 read-write n 0x0 0x0 FORCE 1 1 read-only TIMER 0 1 read-only SCRATCH0 Scratch register. Information persists through soft reset of the chip. 0xC 32 read-write n 0x0 0x0 SCRATCH1 Scratch register. Information persists through soft reset of the chip. 0x10 32 read-write n 0x0 0x0 SCRATCH2 Scratch register. Information persists through soft reset of the chip. 0x14 32 read-write n 0x0 0x0 SCRATCH3 Scratch register. Information persists through soft reset of the chip. 0x18 32 read-write n 0x0 0x0 SCRATCH4 Scratch register. Information persists through soft reset of the chip. 0x1C 32 read-write n 0x0 0x0 SCRATCH5 Scratch register. Information persists through soft reset of the chip. 0x20 32 read-write n 0x0 0x0 SCRATCH6 Scratch register. Information persists through soft reset of the chip. 0x24 32 read-write n 0x0 0x0 SCRATCH7 Scratch register. Information persists through soft reset of the chip. 0x28 32 read-write n 0x0 0x0 TICK Controls the tick generator 0x2C 32 read-write n 0x200 0x0 COUNT Count down timer: the remaining number clk_tick cycles before the next tick is generated. 11 9 read-only CYCLES Total number of clk_tick cycles before the next tick. 0 9 read-write ENABLE start / stop tick generation 9 1 read-write RUNNING Is the tick generator running? 10 1 read-only XIP_CTRL QSPI flash execute-in-place block XIP_CTRL 0x14000000 0x0 0x20 registers n XIP_IRQ 6 CTRL Cache control 0x0 32 read-write n 0x3 0x0 EN When 1, enable the cache. When the cache is disabled, all XIP accesses will go straight to the flash, without querying the cache. When enabled, cacheable XIP accesses will query the cache, and the flash will not be accessed if the tag matches and the valid bit is set. If the cache is enabled, cache-as-SRAM accesses have no effect on the cache data RAM, and will produce a bus error response. 0 1 read-write ERR_BADWRITE When 1, writes to any alias other than 0x0 (caching, allocating) will produce a bus fault. When 0, these writes are silently ignored. In either case, writes to the 0x0 alias will deallocate on tag match, as usual. 1 1 read-write POWER_DOWN When 1, the cache memories are powered down. They retain state, but can not be accessed. This reduces static power dissipation. Writing 1 to this bit forces CTRL_EN to 0, i.e. the cache cannot be enabled when powered down. Cache-as-SRAM accesses will produce a bus error response when the cache is powered down. 3 1 read-write CTR_ACC Cache Access counter A 32 bit saturating counter that increments upon each XIP access, whether the cache is hit or not. This includes noncacheable accesses. Write any value to clear. 0x10 32 read-write n 0x0 0x0 oneToClear CTR_HIT Cache Hit counter A 32 bit saturating counter that increments upon each cache hit, i.e. when an XIP access is serviced directly from cached data. Write any value to clear. 0xC 32 read-write n 0x0 0x0 oneToClear FLUSH Cache Flush control 0x4 32 read-write n 0x0 0x0 FLUSH Write 1 to flush the cache. This clears the tag memory, but the data memory retains its contents. (This means cache-as-SRAM contents is not affected by flush or reset.) Reading will hold the bus (stall the processor) until the flush completes. Alternatively STAT can be polled until completion. 0 1 read-write clear STAT Cache Status 0x8 32 read-write n 0x2 0x0 FIFO_EMPTY When 1, indicates the XIP streaming FIFO is completely empty. 1 1 read-only FIFO_FULL When 1, indicates the XIP streaming FIFO is completely full. The streaming FIFO is 2 entries deep, so the full and empty flag allow its level to be ascertained. 2 1 read-only FLUSH_READY Reads as 0 while a cache flush is in progress, and 1 otherwise. The cache is flushed whenever the XIP block is reset, and also when requested via the FLUSH register. 0 1 read-only STREAM_ADDR FIFO stream address 0x14 32 read-write n 0x0 0x0 STREAM_ADDR The address of the next word to be streamed from flash to the streaming FIFO. Increments automatically after each flash access. Write the initial access address here before starting a streaming read. 2 30 read-write STREAM_CTR FIFO stream control 0x18 32 read-write n 0x0 0x0 STREAM_CTR Write a nonzero value to start a streaming read. This will then progress in the background, using flash idle cycles to transfer a linear data block from flash to the streaming FIFO. Decrements automatically (1 at a time) as the stream progresses, and halts on reaching 0. Write 0 to halt an in-progress stream, and discard any in-flight read, so that a new stream can immediately be started (after draining the FIFO and reinitialising STREAM_ADDR) 0 22 read-write STREAM_FIFO FIFO stream data Streamed data is buffered here, for retrieval by the system DMA. This FIFO can also be accessed via the XIP_AUX slave, to avoid exposing the DMA to bus stalls caused by other XIP traffic. 0x1C 32 read-only n 0x0 0x0 XIP_SSI DW_apb_ssi has the following features: * APB interface – Allows for easy integration into a DesignWare Synthesizable Components for AMBA 2 implementation. * APB3 and APB4 protocol support. * Scalable APB data bus width – Supports APB data bus widths of 8, 16, and 32 bits. * Serial-master or serial-slave operation – Enables serial communication with serial-master or serial-slave peripheral devices. * Programmable Dual/Quad/Octal SPI support in Master Mode. * Dual Data Rate (DDR) and Read Data Strobe (RDS) Support - Enables the DW_apb_ssi master to perform operations with the device in DDR and RDS modes when working in Dual/Quad/Octal mode of operation. * Data Mask Support - Enables the DW_apb_ssi to selectively update the bytes in the device. This feature is applicable only in enhanced SPI modes. * eXecute-In-Place (XIP) support - Enables the DW_apb_ssi master to behave as a memory mapped I/O and fetches the data from the device based on the APB read request. This feature is applicable only in enhanced SPI modes. * DMA Controller Interface – Enables the DW_apb_ssi to interface to a DMA controller over the bus using a handshaking interface for transfer requests. * Independent masking of interrupts – Master collision, transmit FIFO overflow, transmit FIFO empty, receive FIFO full, receive FIFO underflow, and receive FIFO overflow interrupts can all be masked independently. * Multi-master contention detection – Informs the processor of multiple serial-master accesses on the serial bus. * Bypass of meta-stability flip-flops for synchronous clocks – When the APB clock (pclk) and the DW_apb_ssi serial clock (ssi_clk) are synchronous, meta-stable flip-flops are not used when transferring control signals across these clock domains. * Programmable delay on the sample time of the received serial data bit (rxd) enables programmable control of routing delays resulting in higher serial data-bit rates. * Programmable features: - Serial interface operation – Choice of Motorola SPI, Texas Instruments Synchronous Serial Protocol or National Semiconductor Microwire. - Clock bit-rate – Dynamic control of the serial bit rate of the data transfer used in only serial-master mode of operation. - Data Item size (4 to 32 bits) – Item size of each data transfer under the control of the programmer. * Configured features: - FIFO depth – 16 words deep. The FIFO width is fixed at 32 bits. - 1 slave select output. - Hardware slave-select – Dedicated hardware slave-select line. - Combined interrupt line - one combined interrupt line from the DW_apb_ssi to the interrupt controller. - Interrupt polarity – active high interrupt lines. - Serial clock polarity – low serial-clock polarity directly after reset. - Serial clock phase – capture on first edge of serial-clock directly after reset. XIP_SSI 0x18000000 0x0 0x100 registers n BAUDR Baud rate 0x14 32 read-write n 0x0 0x0 SCKDV SSI clock divider 0 16 read-write CTRLR0 Control register 0 0x0 32 read-write n 0x0 0x0 CFS Control frame size Value of n -> n+1 clocks per frame. 12 4 read-write DFS Data frame size 0 4 read-write DFS_32 Data frame size in 32b transfer mode Value of n -> n+1 clocks per frame. 16 5 read-write FRF Frame format 4 2 read-write SCPH Serial clock phase 6 1 read-write SCPOL Serial clock polarity 7 1 read-write SLV_OE Slave output enable 10 1 read-write SPI_FRF SPI frame format 21 2 read-write STD Standard 1-bit SPI frame format 1 bit per SCK, full-duplex 0 DUAL Dual-SPI frame format two bits per SCK, half-duplex 1 QUAD Quad-SPI frame format four bits per SCK, half-duplex 2 SRL Shift register loop (test mode) 11 1 read-write SSTE Slave select toggle enable 24 1 read-write TMOD Transfer mode 8 2 read-write TX_AND_RX Both transmit and receive 0 TX_ONLY Transmit only (not for FRF == 0, standard SPI mode) 1 RX_ONLY Receive only (not for FRF == 0, standard SPI mode) 2 EEPROM_READ EEPROM read mode (TX then RX RX starts after control data TX'd) 3 CTRLR1 Master Control register 1 0x4 32 read-write n 0x0 0x0 NDF Number of data frames 0 16 read-write DMACR DMA control 0x4C 32 read-write n 0x0 0x0 RDMAE Receive DMA enable 0 1 read-write TDMAE Transmit DMA enable 1 1 read-write DMARDLR DMA RX data level 0x54 32 read-write n 0x0 0x0 DMARDL Receive data watermark level (DMARDLR+1) 0 8 read-write DMATDLR DMA TX data level 0x50 32 read-write n 0x0 0x0 DMATDL Transmit data watermark level 0 8 read-write DR0 Data Register 0 (of 36) 0x60 32 read-write n 0x0 0x0 DR First data register of 36 0 32 read-write ICR Interrupt clear 0x48 32 read-write n 0x0 0x0 ICR Clear-on-read all active interrupts 0 1 read-only IDR Identification register 0x58 32 read-write n 0x51535049 0x0 IDCODE Peripheral dentification code 0 32 read-only IMR Interrupt mask 0x2C 32 read-write n 0x0 0x0 MSTIM Multi-master contention interrupt mask 5 1 read-write RXFIM Receive FIFO full interrupt mask 4 1 read-write RXOIM Receive FIFO overflow interrupt mask 3 1 read-write RXUIM Receive FIFO underflow interrupt mask 2 1 read-write TXEIM Transmit FIFO empty interrupt mask 0 1 read-write TXOIM Transmit FIFO overflow interrupt mask 1 1 read-write ISR Interrupt status 0x30 32 read-write n 0x0 0x0 MSTIS Multi-master contention interrupt status 5 1 read-only RXFIS Receive FIFO full interrupt status 4 1 read-only RXOIS Receive FIFO overflow interrupt status 3 1 read-only RXUIS Receive FIFO underflow interrupt status 2 1 read-only TXEIS Transmit FIFO empty interrupt status 0 1 read-only TXOIS Transmit FIFO overflow interrupt status 1 1 read-only MSTICR Multi-master interrupt clear 0x44 32 read-write n 0x0 0x0 MSTICR Clear-on-read multi-master contention interrupt 0 1 read-only MWCR Microwire Control 0xC 32 read-write n 0x0 0x0 MDD Microwire control 1 1 read-write MHS Microwire handshaking 2 1 read-write MWMOD Microwire transfer mode 0 1 read-write RISR Raw interrupt status 0x34 32 read-write n 0x0 0x0 MSTIR Multi-master contention raw interrupt status 5 1 read-only RXFIR Receive FIFO full raw interrupt status 4 1 read-only RXOIR Receive FIFO overflow raw interrupt status 3 1 read-only RXUIR Receive FIFO underflow raw interrupt status 2 1 read-only TXEIR Transmit FIFO empty raw interrupt status 0 1 read-only TXOIR Transmit FIFO overflow raw interrupt status 1 1 read-only RXFLR RX FIFO level 0x24 32 read-write n 0x0 0x0 RXTFL Receive FIFO level 0 8 read-only RXFTLR RX FIFO threshold level 0x1C 32 read-write n 0x0 0x0 RFT Receive FIFO threshold 0 8 read-write RXOICR RX FIFO overflow interrupt clear 0x3C 32 read-write n 0x0 0x0 RXOICR Clear-on-read receive FIFO overflow interrupt 0 1 read-only RXUICR RX FIFO underflow interrupt clear 0x40 32 read-write n 0x0 0x0 RXUICR Clear-on-read receive FIFO underflow interrupt 0 1 read-only RX_SAMPLE_DLY RX sample delay 0xF0 32 read-write n 0x0 0x0 RSD RXD sample delay (in SCLK cycles) 0 8 read-write SER Slave enable 0x10 32 read-write n 0x0 0x0 SER For each bit: 0 -> slave not selected 1 -> slave selected 0 1 read-write SPI_CTRLR0 SPI control 0xF4 32 read-write n 0x3000000 0x0 ADDR_L Address length (0b-60b in 4b increments) 2 4 read-write INST_DDR_EN Instruction DDR transfer enable 17 1 read-write INST_L Instruction length (0/4/8/16b) 8 2 read-write NONE No instruction 0 4B 4-bit instruction 1 8B 8-bit instruction 2 16B 16-bit instruction 3 SPI_DDR_EN SPI DDR transfer enable 16 1 read-write SPI_RXDS_EN Read data strobe enable 18 1 read-write TRANS_TYPE Address and instruction transfer format 0 2 read-write 1C1A Command and address both in standard SPI frame format 0 1C2A Command in standard SPI format, address in format specified by FRF 1 2C2A Command and address both in format specified by FRF (e.g. Dual-SPI) 2 WAIT_CYCLES Wait cycles between control frame transmit and data reception (in SCLK cycles) 11 5 read-write XIP_CMD SPI Command to send in XIP mode (INST_L = 8-bit) or to append to Address (INST_L = 0-bit) 24 8 read-write SR Status register 0x28 32 read-write n 0x0 0x0 BUSY SSI busy flag 0 1 read-only DCOL Data collision error 6 1 read-only RFF Receive FIFO full 4 1 read-only RFNE Receive FIFO not empty 3 1 read-only TFE Transmit FIFO empty 2 1 read-only TFNF Transmit FIFO not full 1 1 read-only TXE Transmission error 5 1 read-only SSIENR SSI Enable 0x8 32 read-write n 0x0 0x0 SSI_EN SSI enable 0 1 read-write SSI_VERSION_ID Version ID 0x5C 32 read-write n 0x3430312A 0x0 SSI_COMP_VERSION SNPS component version (format X.YY) 0 32 read-only TXD_DRIVE_EDGE TX drive edge 0xF8 32 read-write n 0x0 0x0 TDE TXD drive edge 0 8 read-write TXFLR TX FIFO level 0x20 32 read-write n 0x0 0x0 TFTFL Transmit FIFO level 0 8 read-only TXFTLR TX FIFO threshold level 0x18 32 read-write n 0x0 0x0 TFT Transmit FIFO threshold 0 8 read-write TXOICR TX FIFO overflow interrupt clear 0x38 32 read-write n 0x0 0x0 TXOICR Clear-on-read transmit FIFO overflow interrupt 0 1 read-only XOSC Controls the crystal oscillator XOSC 0x40024000 0x0 0x1000 registers n COUNT A down counter running at the xosc frequency which counts to zero and stops. To start the counter write a non-zero value. Can be used for short software pauses when setting up time sensitive hardware. 0x1C 32 read-write n 0x0 0x0 COUNT 0 8 read-write CTRL Crystal Oscillator Control 0x0 32 read-write n 0x0 0x0 ENABLE On power-up this field is initialised to DISABLE and the chip runs from the ROSC. If the chip has subsequently been programmed to run from the XOSC then setting this field to DISABLE may lock-up the chip. If this is a concern then run the clk_ref from the ROSC and enable the clk_sys RESUS feature. The 12-bit code is intended to give some protection against accidental writes. An invalid setting will enable the oscillator. 12 12 read-write DISABLE None 3358 ENABLE None 4011 FREQ_RANGE Frequency range. This resets to 0xAA0 and cannot be changed. 0 12 read-write 1_15MHZ None 2720 RESERVED_1 None 2721 RESERVED_2 None 2722 RESERVED_3 None 2723 DORMANT Crystal Oscillator pause control This is used to save power by pausing the XOSC On power-up this field is initialised to WAKE An invalid write will also select WAKE WARNING: stop the PLLs before selecting dormant mode WARNING: setup the irq before selecting dormant mode 0x8 32 read-write n 0x0 0x0 STARTUP Controls the startup delay 0xC 32 read-write n 0xC4 0x0 DELAY in multiples of 256*xtal_period. The reset value of 0xc4 corresponds to approx 50 000 cycles. 0 14 read-write X4 Multiplies the startup_delay by 4. This is of little value to the user given that the delay can be programmed directly. 20 1 read-write STATUS Crystal Oscillator Status 0x4 32 read-write n 0x0 0x0 BADWRITE An invalid value has been written to CTRL_ENABLE or CTRL_FREQ_RANGE or DORMANT 24 1 read-write oneToClear ENABLED Oscillator is enabled but not necessarily running and stable, resets to 0 12 1 read-only FREQ_RANGE The current frequency range setting, always reads 0 0 2 read-only 1_15MHZ None 0 RESERVED_1 None 1 RESERVED_2 None 2 RESERVED_3 None 3 STABLE Oscillator is running and stable 31 1 read-only